diff options
| author | Liu Bo <[email protected]> | 2017-04-04 12:23:25 -0700 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-06-19 18:25:58 +0200 |
| commit | 015c1bd9f162a00934dd71859f36b12d03c8e771 (patch) | |
| tree | b816eacdb0af239f4e7c4623c8949a0ff9830766 /tools/perf/scripts/python | |
| parent | 7870d0822be99bdb9353b542007c046966ec18f3 (diff) | |
Btrfs: use bio_clone_fast to clone our bio
For raid1 and raid10, we clone the original bio to the bios which are then
sent to different disks.
Right now we use bio_clone_bioset to create a clone bio with iterating
bi_io_vec to initialize it. This changes it to use bio_clone_fast()
which creates a clone bio but only copies the bi_io_vec pointer
instead of iterating bi_io_vec.
Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions