diff options
author | Bart Van Assche | 2023-05-17 10:42:26 -0700 |
---|---|---|
committer | Jens Axboe | 2023-05-18 19:47:49 -0600 |
commit | b2097bd24b438d49d82a5c317be4dc74b626236a (patch) | |
tree | 8a8102fc52db2a213f196acca66a6ef159495399 /ipc | |
parent | 3b463cbea908a9c8d4b9eda09765070506864cbe (diff) |
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>
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions