[PATCH 1/2] nvme: requeue namespace scan on missed AENs
Keith Busch
kbusch at kernel.org
Sat Apr 5 16:01:05 PDT 2025
On Thu, Apr 03, 2025 at 09:19:29AM +0200, Hannes Reinecke wrote:
> From: Hannes Reinecke <hare at kernel.org
>
> Scanning for namespaces can take some time, so if the target is
> reconfigured while the scan is running we will miss the AEN.
> So check if the NVME_AER_NOTICE_NS_CHANGED bit is set once the scan is
> finished, and requeue scanning to pick up any missed changes.
Looks good.
Reviewed-by: Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list