Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Achieve capacity limits #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

duanhongyi
Copy link

@duanhongyi duanhongyi commented Jul 22, 2022

The basic function of capacity limitation is realized. As long as the GetBucketUsage method is implemented in the backend; I only realize the backend of Minio at present, add the following parameters:

   --provider value             The specific provider of the object storage service. (default: "unknow")
   --capacity value             Limit the maximum capacity quota of mounted files. (default: 1125899906842624)
   --disk-usage-interval value  Time interval for statistics of disk usage, in seconds. (default: 60)

for example:

geesefs --provider minio \
  --capacity 629145600 \
  --disk-usage-interval 30 \
  --endpoint https://play.min.io \
  geesefs \
  /mnt/geesefs

@vitalif
Copy link
Collaborator

vitalif commented Jul 28, 2022

Hi, I'll review it soon, one request: can you please avoid mixing new code with formatting changes? I.e. ideally, existing code that's unchanged shouldn't be affected by the PR

@duanhongyi
Copy link
Author

OK, I'll deal with it tomorrow.

@vitalif vitalif force-pushed the master branch 2 times, most recently from a2f068f to e1302a1 Compare April 5, 2023 09:01
@vitalif vitalif force-pushed the master branch 2 times, most recently from b88aa19 to 4cc0bec Compare April 17, 2023 09:50
@vitalif vitalif force-pushed the master branch 6 times, most recently from 02a3d58 to 9a7b0e3 Compare June 9, 2023 22:12
@vitalif vitalif force-pushed the master branch 2 times, most recently from d8995a9 to de98961 Compare June 19, 2023 23:04
@vitalif vitalif force-pushed the master branch 2 times, most recently from 53784bb to 6509c17 Compare August 7, 2023 10:43
@vitalif vitalif force-pushed the master branch 2 times, most recently from ba3210a to 60208d4 Compare August 16, 2023 16:13
@vitalif vitalif force-pushed the master branch 4 times, most recently from ea5c2ac to 85c69f5 Compare September 27, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants