block: Export integrity data interval size in sysfs
authorMartin K. Petersen <[email protected]>
Wed, 21 Oct 2015 17:19:43 +0000 (13:19 -0400)
committerJens Axboe <[email protected]>
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Documentation/ABI/testing/sysfs-block
block/blk-integrity.c