summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-26 00:50:25 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:37 -0400
commit4a7f7e9e4de665d94e1a7610bf5506265df414d3 (patch)
tree05588c12a17df49a652d0f7a6ab09e600645ab3a /fs/bcachefs/io.c
parent0763c552e7ef024ce6dbc9cbc828b8715dff251c (diff)
bcachefs: Fix not punting to worqueue when promoting
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/io.c')
-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;