summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/move_types.h
diff options
context:
space:
mode:
authorBrett Holman <bholman.devel@gmail.com>2021-07-23 13:57:19 -0600
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:10 -0400
commit8dd6ed9451894e2168328e2203d227303b472ca3 (patch)
tree8b2b411aa819dbd93a8b584dd6411f5a0890d251 /fs/bcachefs/move_types.h
parentfd0bd123d5bc11d665ad0e80eaf4b458619f8b3d (diff)
downloadlinux-stable-8dd6ed9451894e2168328e2203d227303b472ca3.tar.gz
linux-stable-8dd6ed9451894e2168328e2203d227303b472ca3.tar.bz2
linux-stable-8dd6ed9451894e2168328e2203d227303b472ca3.zip
bcachefs: add progress stats to sysfs
This adds progress stats to sysfs for copygc, rebalance, recovery, and the cmd_job ioctls. Signed-off-by: Brett Holman <bholman.devel@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move_types.h')
-rw-r--r--fs/bcachefs/move_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/move_types.h b/fs/bcachefs/move_types.h
index fc0de165af9f..9df6d18137a5 100644
--- a/fs/bcachefs/move_types.h
+++ b/fs/bcachefs/move_types.h
@@ -6,6 +6,8 @@ struct bch_move_stats {
enum bch_data_type data_type;
enum btree_id btree_id;
struct bpos pos;
+ struct list_head list;
+ char name[32];
atomic64_t keys_moved;
atomic64_t keys_raced;