summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-26 07:50:25 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:37 +0300
commit4a7f7e9e4de665d94e1a7610bf5506265df414d3 (patch)
tree05588c12a17df49a652d0f7a6ab09e600645ab3a /fs
parent0763c552e7ef024ce6dbc9cbc828b8715dff251c (diff)
downloadlinux-4a7f7e9e4de665d94e1a7610bf5506265df414d3.tar.xz
bcachefs: Fix not punting to worqueue when promoting
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c
index dfa708c0a7fc..0348e2ab6422 100644
--- a/fs/bcachefs/io.c
+++ b/fs/bcachefs/io.c
@@ -2027,6 +2027,7 @@ static void bch2_read_endio(struct bio *bio)
}
if (rbio->narrow_crcs ||
+ rbio->promote ||
crc_is_compressed(rbio->pick.crc) ||
bch2_csum_type_is_encryption(rbio->pick.crc.csum_type))
context = RBIO_CONTEXT_UNBOUND, wq = system_unbound_wq;