Skip to content

Commit 0a2a507

Browse files
author
Kent Overstreet
committed
bcachefs: set_worker_desc() for delete_dead_snapshots
this is long running - help users see what's going on Signed-off-by: Kent Overstreet <[email protected]>
1 parent ddd118a commit 0a2a507

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/bcachefs/snapshot.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,6 +1680,8 @@ void bch2_delete_dead_snapshots_work(struct work_struct *work)
16801680
{
16811681
struct bch_fs *c = container_of(work, struct bch_fs, snapshot_delete_work);
16821682

1683+
set_worker_desc("bcachefs-delete-dead-snapshots/%s", c->name);
1684+
16831685
bch2_delete_dead_snapshots(c);
16841686
bch2_write_ref_put(c, BCH_WRITE_REF_delete_dead_snapshots);
16851687
}

0 commit comments

Comments
 (0)