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

fs: add statistics #7

Merged
merged 7 commits into from
Jul 16, 2021
Merged

fs: add statistics #7

merged 7 commits into from
Jul 16, 2021

Conversation

skyzh
Copy link
Collaborator

@skyzh skyzh commented Jul 16, 2021

Same as #6, but for ByteNDB test.

aravind-wdc and others added 7 commits June 26, 2021 20:57
ZenFS does not set the ZBD scheduler, remove the outdated message.

Signed-off-by: Aravind Ramesh <[email protected]>
addr_space_sz is expected to store a 64 bit value, but size_t
can vary based on the architecture it is running on, so change
addr_space_sz to explicitly to be uint64_t.

Signed-off-by: Aravind Ramesh <[email protected]>
Enable backup single file or directory with new parameter backup_path,
rather than always backup the whole disk.

To backup a single file, set backup_path to the file :
$zenfs backup --zbd=nvme0n1 --backup_path=dbtest/file_to_backup --path=target_dir/

To backup a directory, set backup_path to the directory end with slash :
$zenfs backup --zbd=nvme0n1 --backup_path=dbtest/dir_to_backup/ --path=target_dir/

To backup the whole disk, remain backup_path empty :
$zenfs backup --zbd=nvme0n1 --path=target_dir/
Signed-off-by: Alex Chi <[email protected]>
@levichen94 levichen94 merged commit 8e2b0dd into for-bytendb-test Jul 16, 2021
@skyzh skyzh deleted the skyzh/add-stat-ndb-test branch July 16, 2021 06:20
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.

3 participants