Files
linux-stable-mirror/drivers
Hannes ReineckeandGreg Kroah-Hartman 60ed102378 nvme: re-read ANA log page after ns scan completes
[ Upstream commit 62baf70c32 ]

When scanning for new namespaces we might have missed an ANA AEN.

The NVMe base spec (NVMe Base Specification v2.1, Figure 151 'Asynchonous
Event Information - Notice': Asymmetric Namespace Access Change) states:

  A controller shall not send this even if an Attached Namespace
  Attribute Changed asynchronous event [...] is sent for the same event.

so we need to re-read the ANA log page after we rescanned the namespace
list to update the ANA states of the new namespaces.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-02 07:50:58 +02:00
..
2025-05-02 07:50:56 +02:00
2025-05-02 07:50:48 +02:00
2025-02-27 04:10:51 -08:00