diff options
author | Ming Lei <[email protected]> | 2017-02-14 23:28:59 +0800 |
---|---|---|
committer | Shaohua Li <[email protected]> | 2017-02-15 11:22:05 -0800 |
commit | c18a1e09008de7d8bd82b046d38a88f4285d53f9 (patch) | |
tree | b6db3c3286d3086c587a76da819c9272dc91b19d /lib/netdev-notifier-error-inject.c | |
parent | 26483819f89c5cf9d27620d70c95afeeeb9bece5 (diff) |
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 <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions