-
Notifications
You must be signed in to change notification settings - Fork 209
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
Added statfs for block-cache #1470
base: blobfuse/2.4.1
Are you sure you want to change the base?
Conversation
@ashruti-msft Please add the output in the PR description and details of the change. |
@vibhansa-msft |
@jainakanksha-msft I have added the output please have a look |
Added statfs for block_cache which will show the memory available if disk is not configured otherwise the disk space. Added corresponding tests for this and fixed a few unit changes in file_cache.
Used a VM with an attached disk of size 5G for the follwoing outputs:
When file cache/block cache uses the attached disk for disk caching
When config has block_cache component without disk cache it will show the memory available:
Output when file cache/block cache uses the same VM as disk cache