]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: avoid an Identify Controller command for each namespace scan
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Apr 2020 08:31:35 +0000 (10:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:35 +0000 (16:18 -0600)
commitbf6916462f52c84f9fe2f372be26a19f29009728
tree091e90c673c2421834e02cb8642bb34ce105b16d
parenta53216b2cfe7de0db064037960f344243bd24009
nvme: avoid an Identify Controller command for each namespace scan

The namespace lists are 0-terminated, so we don't really need the NN value
execept for the legacy sequential scan.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c