diff options
author | Mike Snitzer <snitzer@redhat.com> | 2019-01-17 02:53:26 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-01-21 19:29:18 +0300 |
commit | 57c36519e4b949f89381053f7283f5d605595b42 (patch) | |
tree | e2422cb8eae102acf99b4a0460e716bb6bcf002e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d445bd9cec1a850c2100fcf53684c13b3fd934f2 (diff) | |
download | linux-57c36519e4b949f89381053f7283f5d605595b42.tar.xz |
dm: fix clone_bio() to trigger blk_recount_segments()
DM's clone_bio() now benefits from using bio_trim() by fixing the fact
that clone_bio() wasn't clearing BIO_SEG_VALID like bio_trim() does;
which triggers blk_recount_segments() via bio_phys_segments().
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions