diff options
author | Mike Snitzer <snitzer@redhat.com> | 2022-02-17 23:40:21 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2022-02-21 15:36:28 -0500 |
commit | 77c11720a48cbbd5ee1071e8540d0aa0f26d98f4 (patch) | |
tree | c2cc6392ae724bf5bb79456d38bb39be796be663 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0119ab14c31587198daed671a5bf949df2c14552 (diff) |
dm: remove legacy code only needed before submit_bio recursion
Commit 8615cb65bd63 ("dm: remove useless loop in
__split_and_process_bio") showcased that we no longer loop.
Remove the bio_advance() in __split_and_process_bio() that was only
needed when looping was possible.
Similarly there is no need to advance the bio, using ci->sector
cursor, in __send_duplicate_bios().
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mikulas Patocka <mpatocka@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