• Mike Snitzer's avatar
    dm: improve abnormal bio processing · 4edadf6d
    Mike Snitzer authored
    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: default avatarMike Snitzer <snitzer@kernel.org>
    4edadf6d
dm.c 75.1 KB