summaryrefslogtreecommitdiff
path: root/include/linux/bcache-ioctl.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-03-16 14:51:41 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-03-16 14:51:41 -0800
commitbb1941de5378a7b8122d3575dcbc7d0aeb6326f0 (patch)
treefb0920334591a34e2673c3cfc63d07ac20ba0b92 /include/linux/bcache-ioctl.h
parentac296ad4dcd32a4e7618716782fc3f2b69d03a74 (diff)
update bcache sourcesdev
Diffstat (limited to 'include/linux/bcache-ioctl.h')
-rw-r--r--include/linux/bcache-ioctl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/bcache-ioctl.h b/include/linux/bcache-ioctl.h
index 2d07666..ca76936 100644
--- a/include/linux/bcache-ioctl.h
+++ b/include/linux/bcache-ioctl.h
@@ -78,6 +78,14 @@ struct bch_ioctl_disk_set_state {
#define BCH_REWRITE_RECOMPRESS (1 << 0)
#define BCH_REWRITE_DECREASE_REPLICAS (1 << 1)
+enum bch_data_ops {
+ BCH_DATA_SCRUB,
+};
+
+struct bch_data_op {
+ __u8 type;
+};
+
struct bch_ioctl_data {
__u32 flags;
__u32 pad;