]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09a756589a43f8dce26d27e188bcbbb1ebf20ec7
tree153b2c344577a6b14ab51726f3aa4ae11934795b
parentd30fee1d9a5651e99438d138e8b1c3c22c2db85c
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