Skip to content

file: add file_system_space #2597

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

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Conversation

bhalevy
Copy link
Member

@bhalevy bhalevy commented Dec 23, 2024

Return space_info for the filesystem identified
by the given file name.

space_info provides simpler and standard space information about the filesystem, in contrast to the posix statvfs which requires knowledge about the how to convert
f_block to bytes by multiplying by f_frsize.

@bhalevy bhalevy requested a review from xemul December 23, 2024 11:42
@bhalevy bhalevy marked this pull request as draft December 24, 2024 07:23
@bhalevy
Copy link
Member Author

bhalevy commented Dec 24, 2024

Draft until #2598

@bhalevy
Copy link
Member Author

bhalevy commented Dec 24, 2024

In v2 (cf0b6a5):

Return space_info for the filesystem identified
by the given file name.

space_info provides simpler and standard space information
about the filesystem, in contrast to the posix statvfs
which requires knowledge about the how to convert
f_block to bytes by multiplying by f_frsize.

Signed-off-by: Benny Halevy <[email protected]>
@bhalevy bhalevy marked this pull request as ready for review December 24, 2024 09:53
@bhalevy
Copy link
Member Author

bhalevy commented Dec 24, 2024

  • rebased

@avikivity avikivity merged commit a9bef53 into scylladb:master Dec 24, 2024
15 checks passed
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