diff options
author | Brett Holman <bholman.devel@gmail.com> | 2021-07-23 13:57:19 -0600 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:10 -0400 |
commit | 8dd6ed9451894e2168328e2203d227303b472ca3 (patch) | |
tree | 8b2b411aa819dbd93a8b584dd6411f5a0890d251 /fs/bcachefs/move_types.h | |
parent | fd0bd123d5bc11d665ad0e80eaf4b458619f8b3d (diff) | |
download | linux-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.h | 2 |
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; |