diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-04-12 16:56:12 +0800 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-05-05 17:31:35 -0400 |
commit | d3de6d12694de45dfb4d7821d09224ed43dde3d7 (patch) | |
tree | 8339f320d3eadae3b21d35a07c1f984f438a8325 /drivers/nvmem | |
parent | e6926ad0c988d4cf8d4f4ec77373572831149104 (diff) | |
download | linux-d3de6d12694de45dfb4d7821d09224ed43dde3d7.tar.bz2 |
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/nvmem')
0 files changed, 0 insertions, 0 deletions