BACKPORT: FROMGIT: block: mq-deadline: Reduce lock contention
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. Reviewed-by:Damien Le Moal <dlemoal@kernel.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Hannes Reinecke <hare@suse.de> Cc: Ming Lei <ming.lei@redhat.com> Change-Id: Ib5709f236308f229e35da690ab4cad25f3fcf94d Signed-off-by:
Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230517174230.897144-9-bvanassche@acm.org Signed-off-by:
Jens Axboe <axboe@kernel.dk> Bug: 275581839 (cherry picked from commit b2097bd2 https://git.kernel.dk/cgit/linux/ ) [ bvanassche: resolved cherry-picking conflicts ] Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment