block: Add a disk flag to block integrity profile
So far we have relied on the app tag size to determine whether a disk has been formatted with T10 protection information or not. However, not all target devices provide application tag storage. Add a flag to the block integrity profile that indicates whether the disk has been formatted with protection information. Signed-off-by:Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by:
Sagi Grimberg <sagig@dev.mellanox.co.il> Signed-off-by:
Jens Axboe <axboe@fb.com>
Showing
- Documentation/ABI/testing/sysfs-block 8 additions, 0 deletionsDocumentation/ABI/testing/sysfs-block
- block/blk-integrity.c 12 additions, 0 deletionsblock/blk-integrity.c
- drivers/scsi/sd_dif.c 7 additions, 1 deletiondrivers/scsi/sd_dif.c
- include/linux/blkdev.h 1 addition, 0 deletionsinclude/linux/blkdev.h
Loading
Please register or sign in to comment