From 4a7f7e9e4de665d94e1a7610bf5506265df414d3 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 26 Jul 2022 00:50:25 -0400 Subject: [PATCH] bcachefs: Fix not punting to worqueue when promoting Signed-off-by: Kent Overstreet --- fs/bcachefs/io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c index dfa708c0a7fcc..0348e2ab64228 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; -- 2.39.5