]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: wire up completion notifier for laptop mode
authorJens Axboe <axboe@kernel.dk>
Sat, 30 Sep 2017 08:08:24 +0000 (02:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Oct 2017 14:38:17 +0000 (08:38 -0600)
commit0dd038b3741c147bad58f6ce50bccb0336f8264c
tree115050af0790b5a6c089d40a71abf0eb7ed53de9
parent4cc9169b6dce3bcdb3f947a7754180507294b8a2
blk-mq: wire up completion notifier for laptop mode

For some reason, the laptop mode IO completion notified was never wired
up for blk-mq. Ensure that we trigger the callback appropriately, to arm
the laptop mode flush timer.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c