summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-08-24 15:54:25 -0600
committerJens Axboe <axboe@fb.com>2016-08-29 08:13:21 -0600
commit27489a3c827b7eebba26eda0320bb0f100bef167 (patch)
tree899f2101b78e5a5bab8121686d6f8576a5dcf940 /block/blk-core.c
parentee63cfa7fc197b63669623721b8009cce5b0659b (diff)
downloadlinux-27489a3c827b7eebba26eda0320bb0f100bef167.tar.gz
linux-27489a3c827b7eebba26eda0320bb0f100bef167.tar.bz2
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.c2
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 {