Skip to content

btrfs-progs: subvolume: use BTRFS_IOC_SUBVOL_SYNC_WAIT for sync #989

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

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

Conversation

SidongYang
Copy link

This patch uses BTRFS_IOC_SUBVOL_SYNC_WAIT ioctl in subvolume sync command before checking periodically and adds an option to not to use sync wait ioctl call and force to check periodically. This patch calls a new function wait_for_subvolume_sync() that calls BTRFS_IOC_SUBVOL_SYNC_WAIT for each subvol.

Issue: #953

This patch uses BTRFS_IOC_SUBVOL_SYNC_WAIT ioctl in subvolume sync
command before checking periodically and adds an option to not to
use sync wait ioctl call and force to check periodically. This
patch calls a new function wait_for_subvolume_sync() that calls
BTRFS_IOC_SUBVOL_SYNC_WAIT for each subvol.

Issue: kdave#953
Signed-off-by: Sidong Yang <[email protected]>
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.

1 participant