Btrfs: allow for canceling restriper
[deliverable/linux.git] / fs / btrfs / ioctl.h
index e972e11a8d77041bb3dd45807e5e2cc7ed50f8c2..cd19d10794b94f90d071a397e97531c5feab592e 100644 (file)
@@ -111,6 +111,7 @@ struct btrfs_ioctl_fs_info_args {
 
 /* balance control ioctl modes */
 #define BTRFS_BALANCE_CTL_PAUSE                1
+#define BTRFS_BALANCE_CTL_CANCEL       2
 
 /*
  * this is packed, because it should be exactly the same as its disk
@@ -142,6 +143,7 @@ struct btrfs_balance_progress {
 
 #define BTRFS_BALANCE_STATE_RUNNING    (1ULL << 0)
 #define BTRFS_BALANCE_STATE_PAUSE_REQ  (1ULL << 1)
+#define BTRFS_BALANCE_STATE_CANCEL_REQ (1ULL << 2)
 
 struct btrfs_ioctl_balance_args {
        __u64 flags;                            /* in/out */
This page took 0.027907 seconds and 5 git commands to generate.