dm: remove the pending IO accounting
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 6 Dec 2018 16:41:22 +0000 (11:41 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Dec 2018 15:30:38 +0000 (08:30 -0700)
commit6f75723190d88e1319bea623bfe0292bf3917965
tree153b2c344577a6b14ab51726f3aa4ae11934795b
parente016b78201a2d9ff40f3f0da072292689af24c7f
dm: remove the pending IO accounting

Remove the "pending" atomic counters, that duplicate block-core's
in_flight counters, and update md_in_flight() to look at percpu
in_flight counters.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-core.h
drivers/md/dm.c