On 2025/06/11 13:44, Christoph Hellwig wrote: > 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 <bvanassche@xxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> Tested-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research