diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-19 20:55:33 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:48 -0400 |
commit | b7a9bbfc1b85730ddf9905289b1a148ea1aa5ade (patch) | |
tree | affcc11b96ebd3f614a65bfa8ff9d8564245c2cc /fs/bcachefs/movinggc.c | |
parent | d5425a3b220a8b94ae2dd3c74af001a6b1216651 (diff) | |
download | lwn-b7a9bbfc1b85730ddf9905289b1a148ea1aa5ade.tar.gz lwn-b7a9bbfc1b85730ddf9905289b1a148ea1aa5ade.zip |
bcachefs: Move journal reclaim to a kthread
This is to make tracing easier.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/movinggc.c')
-rw-r--r-- | fs/bcachefs/movinggc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c index e858e2a35f8d..a9775cc84f66 100644 --- a/fs/bcachefs/movinggc.c +++ b/fs/bcachefs/movinggc.c @@ -345,7 +345,7 @@ int bch2_copygc_start(struct bch_fs *c) if (bch2_fs_init_fault("copygc_start")) return -ENOMEM; - t = kthread_create(bch2_copygc_thread, c, "bch_copygc"); + t = kthread_create(bch2_copygc_thread, c, "bch-copygc/%s", c->name); if (IS_ERR(t)) return PTR_ERR(t); |