Home
last modified time | relevance | path

Searched hist:d3de6d12694de45dfb4d7821d09224ed43dde3d7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm.cdiff d3de6d12694de45dfb4d7821d09224ed43dde3d7 Tue Apr 12 03:56:12 CDT 2022 Ming Lei <ming.lei@redhat.com> dm: switch to bdev based IO accounting interfaces

DM splits flush with data into empty flush followed by bio with data
payload, switch dm_io_acct() to use bdev_{start,end}_io_acct() to do
this accoiunting more naturally (rather than temporarily changing the
bio's bi_size).

This will allow DM to more easily account bios that are split (in
following commit).

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>