diff options
author | Christoph Hellwig <[email protected]> | 2020-09-28 12:34:04 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2020-10-07 07:56:18 +0200 |
commit | fab72f5a046883ae5851c95b7c6e7a08f984e391 (patch) | |
tree | 29a4d6a5d5f47c4b70bdf084aa39f75f3fcfd028 /scripts/gdb/linux/rbtree.py | |
parent | b8b8cd013327327e757529a0725a8c754c7890e3 (diff) |
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 <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions