]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbf82ec9857b71a81947e4805bcbfb55cb284657
tree8663290b5214c39c0225e871f1791342d95b2c8b
parentd2237a85291635c306b185bcb23bf1f881030fdc
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