diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2013-05-06 21:15:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-09-03 19:40:50 +0200 |
commit | eda2178b995a637529b95e748be9dd9460ec4d89 (patch) | |
tree | b517d970f32edef8246a644dee9c8727880751f2 /ioctl.h | |
parent | b9b1fc4f0dea55ed276819538d1d46e61edf1d86 (diff) |
Btrfs-progs: added "btrfs quota rescan" -w switch (wait)
With -w one can wait for a rescan operation to finish. It can be used when
starting a rescan operation or later to wait for the currently running
rescan operation to finish. Waiting is interruptible.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'ioctl.h')
-rw-r--r-- | ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -584,6 +584,7 @@ struct btrfs_ioctl_clone_range_args { struct btrfs_ioctl_quota_rescan_args) #define BTRFS_IOC_QUOTA_RESCAN_STATUS _IOR(BTRFS_IOCTL_MAGIC, 45, \ struct btrfs_ioctl_quota_rescan_args) +#define BTRFS_IOC_QUOTA_RESCAN_WAIT _IO(BTRFS_IOCTL_MAGIC, 46) #define BTRFS_IOC_GET_FSLABEL _IOR(BTRFS_IOCTL_MAGIC, 49, \ char[BTRFS_LABEL_SIZE]) #define BTRFS_IOC_SET_FSLABEL _IOW(BTRFS_IOCTL_MAGIC, 50, \ |