In this example, AWUPF/NAWUPF has a value of 1K (equivalent to two 512 byte logical blocks), AWUN/NAWUN has a value of 2K (equivalent to four 512 byte logical blocks) and the namespace atomic boundary sizes (NABSN and NABSPF) are 0h.
    在本例中,AWUPF/NAWUPF的值为1K(相当于两个512字节的逻辑块),AWUN/NAWUN的值为2K(相当于四个512字节的逻辑块),命名空间原子边界大小(NABSN和NABSPF)为0h。
    Command A writes LBAs 0 to 1.
    命令A写LBAs 0 ~ 1。
    Figure 352 shows the initial state of the NVM.
    图352显示了NVM的初始状态。
    image.png
    Command A begins executing but is interrupted by a power failure during the writing of the logical block at LBA 1.
    命令A开始执行,但在LBA 1处的逻辑块写入过程中被掉电中断。
    Figure 353 describes valid and invalid results.
    图353描述了有效和无效的结果。
    image.png
    If the size of write command A is larger than the AWUPF/NAWUPF value, then there is no guarantee of the state of the data contained in the specified LBA range after the power fail or error condition.
    如果写命令A的大小大于AWUPF/NAWUPF值,则不能保证在掉电或错误条件下,指定LBA范围内的数据的状态。After a write command has completed, reads for that location which are subsequently submitted shall return the data from that write command and not an older version of the data from previous write commands with the following exception;
    在一个写命令完成后,对该位置的读取将返回该写命令的数据,而不是以前写命令的数据的旧版本,以下例外;
    If all of the following conditions are met:
    如果满足以下所有条件:
    a) the controller supports a volatile write cache;
    a)控制器支持易失性写cache;
    b) the volatile write cache is enabled;
    b)启动易失性写缓存;
    c) the FUA bit for the write is not set;
    c)写的FUA位没有设置;
    d) no flush commands, associated with the same namespace as the write, successfully completed before shutdown;
    d)没有flush命令,和写命令关联在同一个命名空间,在关闭前成功完成;and 和
    e) a controller shutdown occurs without completing the normal or abrupt shutdown procedure outlined in section 7.6.2,
    e)在未完成第7.6.2节中所述的正常或突然关机程序的情况下,控制器关闭发生;
    then subsequent reads for locations written to the volatile write cache that were not written to non-volatile storage may return older data.
    然后,后续对写入易失性写缓存(未写入非易失性存储)的位置的读取可能返回旧数据。