]> www.infradead.org Git - users/hch/block.git/commit
drbd: remove dead code in device_to_statistics
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 08:43:09 +0000 (10:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:29:17 +0000 (08:29 +0200)
commitf69792f90bc5887e3ef66d518c24f7e50b589458
treefcf65a3f48929d9b661f2c677bbc5d3117769f1c
parentf4a824f583d30913a9f6c4af1cf2204a4e2201e3
drbd: remove dead code in device_to_statistics

Ever since the switch to blk-mq, a lower device not used for VM
writeback will not be marked congested, so the check will never
trigger.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
drivers/block/drbd/drbd_nl.c