diff options
author | Christoph Hellwig <hch@lst.de> | 2023-07-13 15:30:42 +0200 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2023-07-13 17:12:50 +0200 |
commit | ac522fc6c3165fd0daa2f8da7e07d5f800586daa (patch) | |
tree | d1d35c6671da90a1b96923bcfc533044d0cef077 /fs/exfat/file.c | |
parent | nvme: ensure disabling pairs with unquiesce (diff) | |
download | linux-ac522fc6c3165fd0daa2f8da7e07d5f800586daa.tar.xz linux-ac522fc6c3165fd0daa2f8da7e07d5f800586daa.zip |
nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices
While duplicate IDs are still very harmful, including the potential to easily
see changing devices in /dev/disk/by-id, it turn out they are extremely
common for cheap end user NVMe devices.
Relax our check for them for so that it doesn't reject the probe on
single-ported PCIe devices, but prints a big warning instead. In doubt
we'd still like to see quirk entries to disable the potential for
changing supposed stable device identifier links, but this will at least
allow users how have two (or more) of these devices to use them without
having to manually add a new PCI ID entry with the quirk through sysfs or
by patching the kernel.
Fixes: 2079f41ec6ff ("nvme: check that EUI/GUID/UUID are globally unique")
Cc: stable@vger.kernel.org # 6.0+
Co-developed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'fs/exfat/file.c')
0 files changed, 0 insertions, 0 deletions