• Keith Busch's avatar
    nvme-pci: report the actual number of tagset maps · 6ee742fa
    Keith Busch authored
    We've been reporting 2 maps regardless of whether the module parameter
    asked for anything beyond the default queues. A consequence of this
    means that blk-mq will reinitialize the all the hardware contexts and io
    schedulers on every controller reset when the mapping is exactly the
    same as before. This unnecessary overhead is adding several milliseconds
    on a reset for environments that don't need it. Report the actual number
    of mappings in use.
    Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    6ee742fa
pci.c 93.4 KB