summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-10-18 02:51:32 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-10-18 02:51:32 +0200
commitcf8ff0e71369afdf600e36924c2d046ecf783cbf (patch)
tree248cf8379c175c580a9552104808bf12a25ef081 /lib
parent5fd2e746e1a2a00d2acbc0c3b1924b1ea22101e8 (diff)
downloadplan9front-cf8ff0e71369afdf600e36924c2d046ecf783cbf.tar.xz
sdnvme: handle machines with more cpu's than submit queues (thanks mischief)
We used to assume a 1:1 pairing of processors to submit queues. With recent machines, we now got more cpu cores than what some nvme drives support so we need to distribute the queues across these cpu's which requires locking on command submission. There is a feature get/set command to probe the number of submit and completion queues, but we decided to just handling submission queue create command error gracefully as it is simpler and has less chance of regression with existing setups. Thanks to mischief for investigating and writing the code.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions