diff options
author | Jens Axboe <axboe@fb.com> | 2014-04-09 20:18:23 +0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-04-09 20:18:23 +0400 |
commit | e4043dcf30811f5db15181168e2aac172514302a (patch) | |
tree | a47da384fc7583df8e8ae9a480efcf48e87d0e62 /include/linux/blk-mq.h | |
parent | 8ab14595b6dffecea264dcca2d6d9eea7c59273a (diff) | |
download | linux-e4043dcf30811f5db15181168e2aac172514302a.tar.xz |
blk-mq: ensure that hardware queues are always run on the mapped CPUs
Instead of providing soft mappings with no guarantees on hardware
queues always being run on the right CPU, switch to a hard mapping
guarantee that ensure that we always run the hardware queue on
(one of, if more) the mapped CPU.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 0120451545d8..b6ee48740458 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -19,6 +19,7 @@ struct blk_mq_hw_ctx { unsigned long state; /* BLK_MQ_S_* flags */ struct delayed_work delayed_work; + cpumask_var_t cpumask; unsigned long flags; /* BLK_MQ_F_* flags */ |