commit | fa53228721876515adabc7bc74368490bd97aa3b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Nov 04 10:05:43 2019 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 04 17:13:54 2019 -0700 |
tree | b9912fc04e66a51d94a3798b784c3a60d8205910 | |
parent | d2c9be89f8ebe7ebcc97676ac40f8dec1cf9b43a [diff] |
block: avoid blk_bio_segment_split for small I/O operations __blk_queue_split() adds significant overhead for small I/O operations. Add a shortcut to avoid it for cases where we know we never need to split. Based on a patch from Ming Lei. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>