]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: unify hctx delayed_run_work and run_work
authorJens Axboe <axboe@fb.com>
Mon, 10 Apr 2017 15:54:54 +0000 (09:54 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 28 Apr 2017 14:10:15 +0000 (08:10 -0600)
commitc7ed7f7ac4972f5f070f0ca11e9b56b42659445b
treede9f50b9f8411ad9306796746900195a0b6f45e6
parentbfdcdb8cbaa48b02a4a6a0acb009e4ed9aa8a97e
blk-mq: unify hctx delayed_run_work and run_work

They serve the exact same purpose. Get rid of the non-delayed
work variant, and just run it without delay for the normal case.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-mq.c
include/linux/blk-mq.h