From: Kent Overstreet Date: Tue, 26 Jul 2022 04:50:25 +0000 (-0400) Subject: bcachefs: Fix not punting to worqueue when promoting X-Git-Tag: v6.7-rc1~201^2~855 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a7f7e9e4de665d94e1a7610bf5506265df414d3;p=thirdparty%2Fkernel%2Flinux.git bcachefs: Fix not punting to worqueue when promoting Signed-off-by: Kent Overstreet --- 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;