diff options
author | Jens Axboe <axboe@fb.com> | 2016-08-24 23:54:25 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-08-29 16:13:21 +0200 |
commit | 27489a3c827b7eebba26eda0320bb0f100bef167 (patch) | |
tree | 899f2101b78e5a5bab8121686d6f8576a5dcf940 /block/blk-core.c | |
parent | block: add kblockd_schedule_work_on() (diff) | |
download | linux-27489a3c827b7eebba26eda0320bb0f100bef167.tar.xz linux-27489a3c827b7eebba26eda0320bb0f100bef167.zip |
blk-mq: turn hctx->run_work into a regular work struct
We don't need the larger delayed work struct, since we always run it
immediately.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 2d08597533a4..34ff8088eebe 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -288,7 +288,7 @@ void blk_sync_queue(struct request_queue *q) int i; queue_for_each_hw_ctx(q, hctx, i) { - cancel_delayed_work_sync(&hctx->run_work); + cancel_work_sync(&hctx->run_work); cancel_delayed_work_sync(&hctx->delay_work); } } else { |