summaryrefslogtreecommitdiffstats
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-04 10:05:43 -0800
committerJens Axboe <axboe@kernel.dk>2019-11-04 17:13:54 -0700
commitfa53228721876515adabc7bc74368490bd97aa3b (patch)
treeb9912fc04e66a51d94a3798b784c3a60d8205910 /block/blk-map.c
parentd2c9be89f8ebe7ebcc97676ac40f8dec1cf9b43a (diff)
downloadlinux-fa53228721876515adabc7bc74368490bd97aa3b.tar.gz
linux-fa53228721876515adabc7bc74368490bd97aa3b.tar.bz2
linux-fa53228721876515adabc7bc74368490bd97aa3b.zip
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>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions