aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpicoder.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-06-11 04:44:16 +0000
committerJens Axboe <[email protected]>2025-06-11 12:42:27 +0000
commitcf625013d8741c01407bbb4a60c111b61b9fa69d (patch)
tree0fcc30ff68495c9b066dfdac7ddb9ff38cf85750 /lib/crypto/mpi/mpicoder.c
parentblock: Clear BIO_EMULATES_ZONE_APPEND flag on BIO completion (diff)
downloadkernel-cf625013d8741c01407bbb4a60c111b61b9fa69d.tar.gz
kernel-cf625013d8741c01407bbb4a60c111b61b9fa69d.zip
block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work
Bios queued up in the zone write plug have already gone through all all preparation in the submit_bio path, including the freeze protection. Submitting them through submit_bio_noacct_nocheck duplicates the work and can can cause deadlocks when freezing a queue with pending bio write plugs. Go straight to ->submit_bio or blk_mq_submit_bio to bypass the superfluous extra freeze protection and checks. Fixes: 9b1ce7f0c6f8 ("block: Implement zone append emulation") Reported-by: Bart Van Assche <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Tested-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions