diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-24 20:58:13 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-02 19:46:55 +0300 |
commit | 22b56c2964386ddced252be407150b22f85e209e (patch) | |
tree | 563070603b7e598538b3e0a35aedf31a689dc229 /block/blk-mq.c | |
parent | 6b6667aa4d1e0866f00b62d35a9be3875c7551f8 (diff) | |
download | linux-22b56c2964386ddced252be407150b22f85e209e.tar.xz |
bio: optimise bvec iteration
__bio_for_each_bvec(), __bio_for_each_segment() and bio_copy_data_iter()
fall under conditions of bvec_iter_advance_single(), which is a faster
and slimmer version of bvec_iter_advance(). Add
bio_advance_iter_single() and convert them.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions