aboutsummaryrefslogtreecommitdiffstats
path: root/block/scsi_ioctl.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-05-21 16:01:15 -0400
committerJens Axboe <axboe@fb.com>2014-05-21 16:01:15 -0400
commit484b4061e6683e0e6a09c7455f80781128dc8a6b (patch)
tree614cc76c04c6a7e17278839d28b3e26608a63f82 /block/scsi_ioctl.c
parente814e71ba4a6e1d7509b0f4b1928365ea650cace (diff)
blk-mq: save memory by freeing requests on unused hardware queues
Depending on the topology of the machine and the number of queues exposed by a device, we can end up in a situation where some of the hardware queues are unused (as in, they don't map to any software queues). For this case, free up the memory used by the request map, as we will not use it. This can be a substantial amount of memory, depending on the number of queues vs CPUs and the queue depth of the device. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions