diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-19 08:43:15 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-19 18:27:24 -0400 |
commit | 0a2a507d404eebbc168e8b1264edf0ac8c6047b4 (patch) | |
tree | f0f4712cecaf378c938cea22cc3c0e775dd62d2f /fs/bcachefs | |
parent | ddd118ab45e848b1956ef8c8ef84963a554b5b58 (diff) |
bcachefs: set_worker_desc() for delete_dead_snapshots
this is long running - help users see what's going on
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/snapshot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/snapshot.c b/fs/bcachefs/snapshot.c index 961b5f56358c..4ef98e696673 100644 --- a/fs/bcachefs/snapshot.c +++ b/fs/bcachefs/snapshot.c @@ -1680,6 +1680,8 @@ void bch2_delete_dead_snapshots_work(struct work_struct *work) { struct bch_fs *c = container_of(work, struct bch_fs, snapshot_delete_work); + set_worker_desc("bcachefs-delete-dead-snapshots/%s", c->name); + bch2_delete_dead_snapshots(c); bch2_write_ref_put(c, BCH_WRITE_REF_delete_dead_snapshots); } |