summaryrefslogtreecommitdiff
path: root/drivers/md/dm-stats.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2022-04-17 13:00:15 -0400
committerMike Snitzer <snitzer@kernel.org>2022-05-05 17:31:36 -0400
commit4edadf6dcb54d2a86eeb424f27122dc0076d9267 (patch)
tree8e634b6498b61816eeb6bdeb30ef8f77c1741a39 /drivers/md/dm-stats.c
parent9d20653fe84ebd772c3af71808e6a727603e0b71 (diff)
downloadlinux-4edadf6dcb54d2a86eeb424f27122dc0076d9267.tar.gz
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 'drivers/md/dm-stats.c')
0 files changed, 0 insertions, 0 deletions