AWUPF and NAWUPF indicate the behavior of the controller if a power fail or other error condition interrupts a write operation causing a torn write.
    AWUPF和NAWUPF表示当掉电或其他错误情况导致写操作中断,导致写撕裂时控制器的行为。
    A torn write is a write operation where only some of the logical blocks that are supposed to be written contiguously are actually stored on the NVM, leaving the target logical blocks in an indeterminate state in which some logical blocks contain original data and some logical blocks contain new data from the write operation.
    写是一个写操作,只有一些撕裂的逻辑块应该是连续写实际上是存储在NVM,离开目标逻辑块处于不确定的状态中,一些逻辑块包含原始数据和一些逻辑块包含新数据的写操作。
    If a write command is submitted with size less than or equal to the AWUPF/NAWUPF value and the write command does not cross an atomic boundary (refer to section 6.4.3), the controller guarantees that if the command fails due to a power failure or other error condition, then subsequent read commands for the logical blocks associated with the write command shall return one of the following:
    如果写命令提交大小小于或等于AWUPF / NAWUPF价值和写命令不会交叉原子边界(6.4.3节提供参考),控制器保证如果命令失败由于电源故障或其他错误条件,然后后续读命令相关联的逻辑块的写命令将返回以下之一:
    • All old data (i.e., original data on the NVM in the LBA range addressed by the interrupted write);
    •所有的旧数据(即中断写的LBA范围内NVM上的原始数据);or 或
    • All new data (i.e., all data to be written to the NVM by the interrupted write).
    •所有新数据(即通过中断的写向NVM写入的所有数据)。
    If a write command is submitted with size greater than the AWUPF/NAWUPF value or crosses an atomic boundary, then there is no guarantee of the data returned on subsequent reads of the associated logical blocks.
    如果提交的写命令的大小大于AWUPF/NAWUPF值或跨越了原子边界,则无法保证后续读取相关逻辑块时返回的数据。