]> 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)
commit4a151159a2b3b892b9b32c3883dc1a8b7831d80f
tree153b2c344577a6b14ab51726f3aa4ae11934795b
parentf08bc8523e0b24d970c94ed860dec8ffab4047e2
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