summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-08-24 23:54:25 +0200
committerJens Axboe <axboe@fb.com>2016-08-29 16:13:21 +0200
commit27489a3c827b7eebba26eda0320bb0f100bef167 (patch)
tree899f2101b78e5a5bab8121686d6f8576a5dcf940 /include
parentblock: add kblockd_schedule_work_on() (diff)
downloadlinux-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 'include')
-rw-r--r--include/linux/blk-mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index e43bbffb5b7a..d579252e6463 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -25,7 +25,7 @@ struct blk_mq_hw_ctx {
} ____cacheline_aligned_in_smp;
unsigned long state; /* BLK_MQ_S_* flags */
- struct delayed_work run_work;
+ struct work_struct run_work;
struct delayed_work delay_work;
cpumask_var_t cpumask;
int next_cpu;