diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-20 04:55:33 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:48 +0300 |
commit | b7a9bbfc1b85730ddf9905289b1a148ea1aa5ade (patch) | |
tree | affcc11b96ebd3f614a65bfa8ff9d8564245c2cc /fs/bcachefs/rebalance.c | |
parent | d5425a3b220a8b94ae2dd3c74af001a6b1216651 (diff) | |
download | linux-b7a9bbfc1b85730ddf9905289b1a148ea1aa5ade.tar.xz |
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/rebalance.c')
-rw-r--r-- | fs/bcachefs/rebalance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c index cce6f58fe609..f9a12dd797a5 100644 --- a/fs/bcachefs/rebalance.c +++ b/fs/bcachefs/rebalance.c @@ -314,7 +314,7 @@ int bch2_rebalance_start(struct bch_fs *c) if (c->opts.nochanges) return 0; - p = kthread_create(bch2_rebalance_thread, c, "bch_rebalance"); + p = kthread_create(bch2_rebalance_thread, c, "bch-rebalance/%s", c->name); if (IS_ERR(p)) return PTR_ERR(p); |