diff options
author | Mike Snitzer <snitzer@redhat.com> | 2017-12-17 17:56:48 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-12-17 18:05:32 +0100 |
commit | f3986374f94951b0fec6980e5b2dd621c51b215c (patch) | |
tree | 28d3386e3d03ff025a2b72710824d57431cea36c /drivers/cpuidle/cpuidle-clps711x.c | |
parent | dm: remove redundant mapped_device member from clone_info structure (diff) | |
download | linux-f3986374f94951b0fec6980e5b2dd621c51b215c.tar.xz linux-f3986374f94951b0fec6980e5b2dd621c51b215c.zip |
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/cpuidle/cpuidle-clps711x.c')
0 files changed, 0 insertions, 0 deletions