projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49cf9b
)
bcachefs: Run snapshot deletion out of system_long_wq
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 1 Jun 2025 22:24:18 +0000
(18:24 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 2 Jun 2025 16:16:36 +0000
(12:16 -0400)
We don't want this running out of the same workqueue, and blocking,
writes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/snapshot.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/snapshot.c
b/fs/bcachefs/snapshot.c
index 35dff323bfdb4f55ed09b2f67ebb46e2344931ea..23a332d76b327679201d2be756dc8a9ad4e88f89 100644
(file)
--- a/
fs/bcachefs/snapshot.c
+++ b/
fs/bcachefs/snapshot.c
@@
-1935,7
+1935,7
@@
void bch2_delete_dead_snapshots_async(struct bch_fs *c)
BUG_ON(!test_bit(BCH_FS_may_go_rw, &c->flags));
- if (!queue_work(
c->write_ref
_wq, &c->snapshot_delete.work))
+ if (!queue_work(
system_long
_wq, &c->snapshot_delete.work))
enumerated_ref_put(&c->writes, BCH_WRITE_REF_delete_dead_snapshots);
}