summaryrefslogtreecommitdiff
path: root/fs/iomap.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-31 08:36:31 -0600
committerJens Axboe <axboe@kernel.dk>2018-11-07 13:45:00 -0700
commit3b6592f70ad7b4c24dd3eb2ac9bbe3353d02c992 (patch)
tree8b31ec8c238fd9dde740a64c81f3aedfecdfc5fe /fs/iomap.c
parent843477d4cc5c4bb4e346c561ecd3b9d0bd67e8c8 (diff)
nvme: utilize two queue maps, one for reads and one for writes
NVMe does round-robin between queues by default, which means that sharing a queue map for both reads and writes can be problematic in terms of read servicing. It's much easier to flood the queue with writes and reduce the read servicing. Implement two queue maps, one for reads and one for writes. The write queue count is configurable through the 'write_queues' parameter. By default, we retain the previous behavior of having a single queue set, shared between reads and writes. Setting 'write_queues' to a non-zero value will create two queue sets, one for reads and one for writes, the latter using the configurable number of queues (hardware queue counts permitting). 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 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions