Commit 9546ad1
nvme: requeue namespace scan on missed AENs
Scanning for namespaces can take some time, so if the target is
reconfigured while the scan is running we may miss a Attached Namespace
Attribute Changed AEN.
Check if the NVME_AER_NOTICE_NS_CHANGED bit is set once the scan has
finished, and requeue scanning to pick up any missed change.
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>1 parent 72070e5 commit 9546ad1
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4295 | 4295 | | |
4296 | 4296 | | |
4297 | 4297 | | |
| 4298 | + | |
| 4299 | + | |
| 4300 | + | |
| 4301 | + | |
4298 | 4302 | | |
4299 | 4303 | | |
4300 | 4304 | | |
| |||
0 commit comments