block: Export integrity data interval size in sysfs
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 21 Oct 2015 17:19:43 +0000 (13:19 -0400)
committerJens Axboe <axboe@fb.com>
Wed, 21 Oct 2015 20:42:41 +0000 (14:42 -0600)
commit4c241d08dbfcbdc7a949b91d72707a289d464954
tree8663290b5214c39c0225e871f1791342d95b2c8b
parenta48f041d91bf1aee599fa2adb53b780ed20c2ee5
block: Export integrity data interval size in sysfs

The size of the data interval was not exported in the sysfs integrity
directory. Export it so that userland apps can tell whether the interval
is different from the device's logical block size.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Documentation/ABI/testing/sysfs-block
block/blk-integrity.c