commit | 5f0ed774ed2914decfd397569fface997532e94d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Nov 23 22:04:33 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 26 10:35:22 2018 -0700 |
tree | 726b690fbf0f0c4cf67f6fcad5266cbe076997ba | |
parent | af78ff7c6e66832afcdf5418f67b11c409f9e7a1 [diff] |
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>