Skip to content
Commit 9d20653f authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: simplify bio-based IO accounting further



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>
parent ec211631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment