diff options
author | Mike Snitzer <snitzer@kernel.org> | 2022-04-17 13:00:15 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-05-05 17:31:36 -0400 |
commit | 4edadf6dcb54d2a86eeb424f27122dc0076d9267 (patch) | |
tree | 8e634b6498b61816eeb6bdeb30ef8f77c1741a39 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 9d20653fe84ebd772c3af71808e6a727603e0b71 (diff) |
dm: improve abnormal bio processing
Read/write/flush are the most common operations, optimize switch in
is_abnormal_io() for those cases. Follows same pattern established in
block perf-wip commit ("block: optimise blk_may_split for normal rw")
Also, push is_abnormal_io() check and blk_queue_split() down from
dm_submit_bio() to dm_split_and_process_bio() and set new
'is_abnormal_io' flag in clone_info. Optimize __split_and_process_bio
and __process_abnormal_io by leveraging ci.is_abnormal_io flag.
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions