diff options
author | Sungup Moon <sungup.moon@samsung.com> | 2022-03-14 14:05:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:24:09 +0300 |
commit | 7d18d6c71372bde4d62eceb819de631cebd44367 (patch) | |
tree | 4e1cfd54bca7952ef685e10651f02d3b1324e40f /include/kvm/arm_arch_timer.h | |
parent | 578bf41d9443bc662bc0d15a479025271d20983c (diff) | |
download | linux-7d18d6c71372bde4d62eceb819de631cebd44367.tar.xz |
nvme: allow duplicate NSIDs for private namespaces
commit 5974ea7ce0f9a5987fc8cf5e08ad6e3e70bb542e upstream.
A NVMe subsystem with multiple controller can have private namespaces
that use the same NSID under some conditions:
"If Namespace Management, ANA Reporting, or NVM Sets are supported, the
NSIDs shall be unique within the NVM subsystem. If the Namespace
Management, ANA Reporting, and NVM Sets are not supported, then NSIDs:
a) for shared namespace shall be unique; and
b) for private namespace are not required to be unique."
Reference: Section 6.1.6 NSID and Namespace Usage; NVM Express 1.4c spec.
Make sure this specific setup is supported in Linux.
Fixes: 9ad1927a3bc2 ("nvme: always search for namespace head")
Signed-off-by: Sungup Moon <sungup.moon@samsung.com>
[hch: refactored and fixed the controller vs subsystem based naming
conflict]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/kvm/arm_arch_timer.h')
0 files changed, 0 insertions, 0 deletions