]> git.karo-electronics.de Git - linux-beck.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)
commit3aec2f41a8baeb70aa77556a4e4dcec7d9d70b4d
tree2725a81cae556798bd3f363c4e8e5595c1ce1aaf
parent8288f496eb1b1905c425e92eaf1abbb29119217b
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