[PATCH] nvme-core: update NS Attr Changed AEN handling for ANA group
Christoph Hellwig
hch at lst.de
Fri Nov 20 04:46:03 EST 2020
On Wed, Nov 18, 2020 at 08:51:30AM -0800, Sagi Grimberg wrote:
>
>> Fix this by reading the ANA log page as part of ana_work so
>> that ngrps gets updated, prior to invoking nvme_queue_scan().
>
> Nothing guarantees ordering here..
Yeah. My memory is fading, but if we processed all events on the
same workqueue we'd be able to order processing of the ANA AEN that
needs to be sent first with the ns changed one that needs to come
later.
More information about the Linux-nvme
mailing list