summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJens Axboe2018-11-24 06:04:33 +0100
committerJens Axboe2018-11-26 18:35:22 +0100
commit5f0ed774ed2914decfd397569fface997532e94d (patch)
tree726b690fbf0f0c4cf67f6fcad5266cbe076997ba /drivers/block
parentblk-mq: Simplify request completion state (diff)
downloadkernel-qcow2-linux-5f0ed774ed2914decfd397569fface997532e94d.tar.gz
kernel-qcow2-linux-5f0ed774ed2914decfd397569fface997532e94d.tar.xz
kernel-qcow2-linux-5f0ed774ed2914decfd397569fface997532e94d.zip
block: sum requests in the plug structure
This isn't exactly the same as the previous count, as it includes requests for all devices. But that really doesn't matter, if we have more than the threshold (16) queued up, flush it. It's not worth it to have an expensive list loop for this. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions