]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - block/blk-mq.c
blk-mq: Drop explicit timeout sync in hotplug
authorGabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Mon, 28 Nov 2016 17:01:48 +0000 (15:01 -0200)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 15:01:08 +0000 (08:01 -0700)
commit415d3dab964c1a9bc6ceb8941bd4dbe4fbe36a09
treef278c4253c44aa3c1e9d15fd12e235eb815bd605
parentd62118b6dd99b8f64350206a6ea6996083b28c9a
blk-mq: Drop explicit timeout sync in hotplug

After commit 287922eb0b18 ("block: defer timeouts to a workqueue"),
deleting the timeout work after freezing the queue shouldn't be
necessary, since the synchronization is already enforced by the
acquisition of a q_usage_counter reference in blk_mq_timeout_work.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Reviewed-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c