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)
commit7beb2f845b715cb98584cf630e9a9d5b05501166
tree115050af0790b5a6c089d40a71abf0eb7ed53de9
parent5385fa47d883dc7d51de622835427bc2558ed43c
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