summaryrefslogtreecommitdiff
path: root/drivers/md/dm-table.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2017-12-17 19:56:48 +0300
committerMike Snitzer <snitzer@redhat.com>2017-12-17 20:05:32 +0300
commitf3986374f94951b0fec6980e5b2dd621c51b215c (patch)
tree28d3386e3d03ff025a2b72710824d57431cea36c /drivers/md/dm-table.c
parentbc02cdbe53eadcef75221c3f1f48cdcbdb9cb6ef (diff)
downloadlinux-f3986374f94951b0fec6980e5b2dd621c51b215c.tar.xz
dm: simplify start of block stats accounting for bio-based
No apparent need to generic_start_io_acct() until before the IO is ready for submission. start_io_acct() is the proper place to do this accounting -- it is also where DM accounts for pending IO and, if enabled, starts dm-stats accounting. Replace start_io_acct()'s part_round_stats() with generic_start_io_acct(). This eliminates needing to take part_stat_lock() multiple times when starting an IO on bio-based devices. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions