5.2 Asynchronous Event Request Command

Asynchronous Event Request -NVM Command Set Specific

Asynchronous Event Request Command

Asynchronous Event用于在发生这些事件时通知host以下状态:错误和运行状况信息(status, error, and health information)。为了使controller 能够报告异步事件,host需要向controller 提交一个或多个Asynchronous Event Request命令。controller 通过完成Asynchronous Event Request命令 给host指定一个时间。host应该期望controller 可能不会立即执行命令(异步的事件,不能强求);当一个事件被reported时,代表命令应完成。
Asynchronous Event Request命令由Host软件提交以此来启用来自controller的异步事件的报告。此命令没有超时。当有异步事件要报告给Host时,controller将为此命令回CQ entry。如果在重置controller时有未完成“Asynchronous Event Request”命令,则这些命令将被abort并且不会返回CQ entry。
All command specific fields are reserved.
Host软件可以提交多个Asynchronous Event Request命令,以减少事件报告延迟。同时在执行的aer命令的总数受在Figure 251的“Identify Controller”数据结构中指定的Asynchronous Event Request Limit的限制。
异步事件以事件类型分类。事件类型信息在Asynchronous Event Request命令的CQ entry的Dword 0中指示。当controller为未完成的Asynchronous Event Request命令回CQ entry并因此报告一个异步事件时,controller会自动屏蔽该事件类型的后续事件,直到Host清除该事件为止。通过使用Get Log Page command读取与该事件关联的log page来清除事件(请参阅第5.14节)。

以下是事件类型:

  1. Error event
    Indicates a general error that is not associated with a specific command (refer to Figure 145). To clear this event, host software reads the Error Information log (refer to section
    5.14.1.1) using the Get Log Page command with the Retain Asynchronous Event bit cleared to ‘0’;

  2. SMART / Health Status event
    Indicates a SMART or health status event (refer to Figure 146). To
    clear this event, host software reads the SMART / Health Information log (refer to section

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

煮雨小哥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值