summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorJens Axboe2018-10-29 20:13:29 +0100
committerJens Axboe2018-11-07 21:44:59 +0100
commitf31967f0e455d08d3ea1d2f849bf62dafc92dbf4 (patch)
tree22fbc79b5ba286e2add8f995a8cfa9f211200192 /net/compat.c
parentblk-mq: pass in request/bio flags to queue mapping (diff)
downloadkernel-qcow2-linux-f31967f0e455d08d3ea1d2f849bf62dafc92dbf4.tar.gz
kernel-qcow2-linux-f31967f0e455d08d3ea1d2f849bf62dafc92dbf4.tar.xz
kernel-qcow2-linux-f31967f0e455d08d3ea1d2f849bf62dafc92dbf4.zip
blk-mq: allow software queue to map to multiple hardware queues
The mapping used to be dependent on just the CPU location, but now it's a tuple of (type, cpu) instead. This is a prep patch for allowing a single software queue to map to multiple hardware queues. No functional changes in this patch. This changes the software queue count to an unsigned short to save a bit of space. We can still support 64K-1 CPUs, which should be enough. Add a check to catch a wrap. Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions