diff options
author | 2017-04-04 12:23:25 -0700 | |
---|---|---|
committer | 2017-06-19 18:25:58 +0200 | |
commit | 015c1bd9f162a00934dd71859f36b12d03c8e771 (patch) | |
tree | b816eacdb0af239f4e7c4623c8949a0ff9830766 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: don't pass the inode through clean_io_failure (diff) | |
download | linux-dev-015c1bd9f162a00934dd71859f36b12d03c8e771.tar.xz linux-dev-015c1bd9f162a00934dd71859f36b12d03c8e771.zip |
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 <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions