• Christoph Hellwig's avatar
    nvmet: mask pending AENs · 55fdd6b6
    Christoph Hellwig authored
    Per section 5.2 of the NVMe 1.3 spec:
    
      "When the controller posts a completion queue entry for an outstanding
      Asynchronous Event Request command and thus reports an asynchronous
      event, subsequent events of that event type are automatically masked by
      the controller until the host clears that event. An event is cleared by
      reading the log page associated with that event using the Get Log Page
      command (see section 5.14)."
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
    55fdd6b6
admin-cmd.c 16.2 KB