summaryrefslogtreecommitdiffstats
path: root/block/blk-stat.h
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2017-02-14 23:28:59 +0800
committerShaohua Li <shli@fb.com>2017-02-15 11:22:05 -0800
commitc18a1e09008de7d8bd82b046d38a88f4285d53f9 (patch)
treeb6db3c3286d3086c587a76da819c9272dc91b19d /block/blk-stat.h
parent26483819f89c5cf9d27620d70c95afeeeb9bece5 (diff)
downloadop-kernel-dev-c18a1e09008de7d8bd82b046d38a88f4285d53f9.zip
op-kernel-dev-c18a1e09008de7d8bd82b046d38a88f4285d53f9.tar.gz
block: introduce bio_clone_bioset_partial()
md still need bio clone(not the fast version) for behind write, and it is more efficient to use bio_clone_bioset_partial(). The idea is simple and just copy the bvecs range specified from parameters. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jens Axboe <axboe@fb.com> Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'block/blk-stat.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud