• Mike Snitzer's avatar
    dm: simplify bio-based IO accounting further · 9d20653f
    Mike Snitzer authored
    Now that io splitting is recorded prior to, or during, ->map IO
    accounting can happen immediately rather than defer until after
    bio splitting in dm_split_and_process_bio().
    
    Remove the DM_IO_START_ACCT flag and also remove dm_io's map_task
    member because there is no longer any need to wait for splitting to
    occur before accounting.
    
    Also move dm_io struct's 'flags' member to consolidate struct holes.
    Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
    9d20653f
dm-core.h 6.47 KB