summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-metadata.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-01-28 16:52:56 -0500
committerMike Snitzer <snitzer@redhat.com>2016-02-22 12:07:10 -0500
commitfaad87df4b907605815c711dca613b3e7755e0d9 (patch)
tree61a265ebab2d4e692649361ea72c2d5716bee69d /drivers/md/dm-cache-metadata.h
parentc91852ff081561d8793d2927e55f5c5deaea6bff (diff)
downloadop-kernel-dev-faad87df4b907605815c711dca613b3e7755e0d9.zip
op-kernel-dev-faad87df4b907605815c711dca613b3e7755e0d9.tar.gz
dm: add 'dm_mq_nr_hw_queues' and 'dm_mq_queue_depth' module params
Allow user to change these values via module params or sysfs. 'dm_mq_nr_hw_queues' defaults to 1 (max 32). 'dm_mq_queue_depth' defaults to 2048 (up from 64, which proved far too small under moderate sized workloads -- the dm-multipath device would continuously block waiting for tags (requests) to become available). The maximum is BLK_MQ_MAX_DEPTH (currently 10240). Keep in mind the total number of pre-allocated requests per request-based dm-mq device is 'dm_mq_nr_hw_queues' * 'dm_mq_queue_depth' (currently 2048). Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-metadata.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud