Skip to content
Commit 06eed768 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: avoid needless dm_io access if all IO accounting is disabled



Update dm_io_acct() to eliminate most dm_io struct accesses if both
block core's IO stats and dm-stats are disabled.

Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 526d1006
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment