aboutsummaryrefslogtreecommitdiff
path: root/Documentation/driver-api/fpga/fpga-programming.rst
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-28 12:34:04 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-07 07:56:18 +0200
commitfab72f5a046883ae5851c95b7c6e7a08f984e391 (patch)
tree29a4d6a5d5f47c4b70bdf084aa39f75f3fcfd028 /Documentation/driver-api/fpga/fpga-programming.rst
parentb8b8cd013327327e757529a0725a8c754c7890e3 (diff)
downloadlinux-fab72f5a046883ae5851c95b7c6e7a08f984e391.tar.gz
linux-fab72f5a046883ae5851c95b7c6e7a08f984e391.tar.bz2
linux-fab72f5a046883ae5851c95b7c6e7a08f984e391.zip
nvme: call nvme_identify_ns as the first thing in nvme_alloc_ns_block
Check if the namespace actually exists as the very first thing and don't bother with any extra work if not. This should speed up and simplify the sequential scanning for NVMe 1.0 devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'Documentation/driver-api/fpga/fpga-programming.rst')
0 files changed, 0 insertions, 0 deletions