]> git.baikalelectronics.ru Git - kernel.git/commit
block: Add a disk flag to block integrity profile
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 26 Sep 2014 23:20:03 +0000 (19:20 -0400)
committerJens Axboe <axboe@fb.com>
Sat, 27 Sep 2014 15:14:51 +0000 (09:14 -0600)
commit0d1c9716714109b39402861efccce33c0ec27b6a
tree2725a81cae556798bd3f363c4e8e5595c1ce1aaf
parentee2a84e4c61240972710cee90803f158384841d6
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>
Documentation/ABI/testing/sysfs-block
block/blk-integrity.c
drivers/scsi/sd_dif.c
include/linux/blkdev.h