diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-26 00:50:25 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-03 22:52:27 -0400 |
commit | b16a822a7f2bc7610dbf0fd1a51eb47fceedce86 (patch) | |
tree | 8fce271b9a08cea08ed656fbee41622f2417fdb5 | |
parent | 249d3a2ecf5f39b3c78ffa3cfc7ae473c5c16884 (diff) |
bcachefs: Fix not punting to worqueue when promoting
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r-- | fs/bcachefs/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c index 971f8ba00dbd..c4523b14293a 100644 --- a/fs/bcachefs/io.c +++ b/fs/bcachefs/io.c @@ -1919,6 +1919,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; |