aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-core.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-04-12 16:56:12 +0800
committerMike Snitzer <snitzer@kernel.org>2022-05-05 17:31:35 -0400
commitd3de6d12694de45dfb4d7821d09224ed43dde3d7 (patch)
tree8339f320d3eadae3b21d35a07c1f984f438a8325 /drivers/md/dm-core.h
parentdm: pass dm_io instance to dm_io_acct directly (diff)
downloadlinux-dev-d3de6d12694de45dfb4d7821d09224ed43dde3d7.tar.xz
linux-dev-d3de6d12694de45dfb4d7821d09224ed43dde3d7.zip
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>
Diffstat (limited to 'drivers/md/dm-core.h')
0 files changed, 0 insertions, 0 deletions