关于linux-kernel:block层数据完整性Data-Integrity

56次阅读

共计 822 个字符,预计需要花费 3 分钟才能阅读完成。

The integrity metadata (or protection information in SCSI terminology) includes a checksum for each sector as well as an incrementing counter that ensures the individual sectors are written in the right order.
完整性元数据包含每个扇区的校验和及减少的用来确保每个扇区正确的写入程序的计数。

The SCSI Data Integrity Field works by appending 8 bytes of protection information to each sector. The data + integrity metadata is stored in 520 byte sectors on disk. Data + IMD are interleaved when transferred between the controller and target. The T13 proposal is similar.
scsi 的数据完整性字段,通过附加 8 字节的爱护信息到每个扇区来工作。数据和完整性元数据被贮存在磁盘上的 520 字节的扇区。在控制器和器件之间传输时,数据和完整性元数据被穿插读取。T13 提案也相似。

Because it is highly inconvenient for operating systems to deal with 520 (and 4104) byte sectors, we approached several HBA vendors and encouraged them to allow separation of the data and integrity metadata scatter-gather lists.
因为对操作系统来说解决 520(和 4104)字节的扇区十分不不便,咱们和几个 HBA 供应商接洽,激励他们容许数据和完整性元数据的 scatter-gather 列表的离开操作。

正文完
 0