static struct blk_integrity dif_type1_integrity_crc = {
.name = T10-DIF-TYPE1-CRC,
- .generate_fn= sd_dif_type1_generate_crc,
- .verify_fn = sd_dif_type1_verify_crc,
- .tuple_size = sizeof(struct sd_dif_tuple),
+
Christoph == Christoph Hellwig h...@infradead.org writes:
static struct blk_integrity dif_type1_integrity_crc = {
Christoph Shouldn't the whole profile defintions move to the generic
Christoph code as well?
Yeah, good idea.
Christoph Maybe the code also should live in block/ and not lib/.
The T10 Protection Information format is also used by some devices that
do not go through the SCSI layer (virtual block devices, NVMe). Relocate
the relevant functions to a library that can be used without involving
SCSI.
Signed-off-by: Martin K. Petersen martin.peter...@oracle.com
---
3 matches
Mail list logo