diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2015-10-21 19:19:43 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-10-21 22:42:41 +0200 |
commit | 4c241d08dbfcbdc7a949b91d72707a289d464954 (patch) | |
tree | 8663290b5214c39c0225e871f1791342d95b2c8b /Documentation/ABI | |
parent | block: Reduce the size of struct blk_integrity (diff) | |
download | linux-4c241d08dbfcbdc7a949b91d72707a289d464954.tar.xz linux-4c241d08dbfcbdc7a949b91d72707a289d464954.zip |
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-block | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block index 8df003963d99..71d184dbb70d 100644 --- a/Documentation/ABI/testing/sysfs-block +++ b/Documentation/ABI/testing/sysfs-block @@ -60,6 +60,13 @@ Description: Indicates whether a storage device is capable of storing integrity metadata. Set if the device is T10 PI-capable. +What: /sys/block/<disk>/integrity/protection_interval_bytes +Date: July 2015 +Contact: Martin K. Petersen <martin.petersen@oracle.com> +Description: + Describes the number of data bytes which are protected + by one integrity tuple. Typically the device's logical + block size. What: /sys/block/<disk>/integrity/write_generate Date: June 2008 |