diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-05-16 09:51:39 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-19 18:25:58 +0200 |
commit | 725130bac5857ac035cf9f47d2973ee4e734db54 (patch) | |
tree | 09a883a5979be898bf33b5d5249ca3f0ba99ce2e /Documentation/block | |
parent | 2f8e9140426dff6091b7a40d441befc791882658 (diff) | |
download | talos-obmc-linux-725130bac5857ac035cf9f47d2973ee4e734db54.tar.gz talos-obmc-linux-725130bac5857ac035cf9f47d2973ee4e734db54.zip |
Btrfs: use bio_clone_bioset_partial to simplify DIO submit
Currently when mapping bio to limit bio to a single stripe length, we
split bio by adding page to bio one by one, but later we don't modify
the vector of bio at all, thus we can use bio_clone_fast to use the
original bio vector directly.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions