summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs_ioctl.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-21 03:12:40 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 19:47:38 +0300
commitba11c7d67a53b88d8605d7cf14942a59ae5632c0 (patch)
treef9c67755d0600d17cd41f1b6c0bcd99f22feddea /fs/bcachefs/bcachefs_ioctl.h
parent3c843a67595187d53f1610ff3ff44130b3247842 (diff)
downloadlinux-ba11c7d67a53b88d8605d7cf14942a59ae5632c0.tar.xz
bcachefs: BCH_DATA_OP_drop_extra_replicas
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_ioctl.h')
-rw-r--r--fs/bcachefs/bcachefs_ioctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs_ioctl.h b/fs/bcachefs/bcachefs_ioctl.h
index d40ebfe05b0b..18eb325401cf 100644
--- a/fs/bcachefs/bcachefs_ioctl.h
+++ b/fs/bcachefs/bcachefs_ioctl.h
@@ -177,7 +177,8 @@ struct bch_ioctl_disk_set_state {
x(scrub, 0) \
x(rereplicate, 1) \
x(migrate, 2) \
- x(rewrite_old_nodes, 3)
+ x(rewrite_old_nodes, 3) \
+ x(drop_extra_replicas, 4)
enum bch_data_ops {
#define x(t, n) BCH_DATA_OP_##t = n,