summaryrefslogtreecommitdiff
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2026-05-26 08:35:31 -0700
committerJens Axboe <axboe@kernel.dk>2026-05-26 15:05:30 -0600
commitb051bb6bf0a231117036aa607cadf55be8e63910 (patch)
tree24d61caef5aaeb495ff33b5426b08a7af9438714 /tools/testing/selftests
parentf6982769910ecddabdb5b8b9afdab0bb8b6668ac (diff)
downloadlwn-b051bb6bf0a231117036aa607cadf55be8e63910.tar.gz
lwn-b051bb6bf0a231117036aa607cadf55be8e63910.zip
blk-mq: reinsert cached request to the list
A previous commit removed an optimization out of caution for a scenario that turns out not to be real: all the "queue_exit" goto's are safe to reinsert the request into the cached_rq's plug list as they are either from a non-blocking path, or a successful merge that already holds the queue reference. This optimization is most needed for small sequential workloads that successfully merge into larger requests. Fixes: dc278e9bf2b9 ("blk-mq: pop cached request if it is usable") Suggested-by: Ming Lei <tom.leiming@gmail.com> Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://patch.msgid.link/20260526153531.2365935-1-kbusch@meta.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions