On 5/17/23 07:33, Bart Van Assche wrote: > blk_mq_free_requests() calls dd_finish_request() indirectly. Prevent > nested locking of dd->lock and dd->zone_lock by moving the code for > freeing requests. > > Cc: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Ming Lei <ming.lei@xxxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research