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:
Mike Snitzer <snitzer@kernel.org>
Showing
Please register or sign in to comment