Home
last modified time | relevance | path

Searched hist:"9 d20653fe84ebd772c3af71808e6a727603e0b71" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-core.hdiff 9d20653fe84ebd772c3af71808e6a727603e0b71 Fri Apr 15 19:08:23 CDT 2022 Mike Snitzer <snitzer@kernel.org> 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: Mike Snitzer <snitzer@kernel.org>
H A Ddm.cdiff 9d20653fe84ebd772c3af71808e6a727603e0b71 Fri Apr 15 19:08:23 CDT 2022 Mike Snitzer <snitzer@kernel.org> 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: Mike Snitzer <snitzer@kernel.org>