xfs: document log sysfs attributes in testing ABI
authorBrian Foster <bfoster@redhat.com>
Mon, 14 Jul 2014 22:09:06 +0000 (08:09 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Jul 2014 22:09:06 +0000 (08:09 +1000)
Create a sysfs-fs-xfs ABI documentation file for newly added sysfs
attributes. This is created under the testing section.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Documentation/ABI/testing/sysfs-fs-xfs [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-fs-xfs b/Documentation/ABI/testing/sysfs-fs-xfs
new file mode 100644 (file)
index 0000000..ea0cc8c
--- /dev/null
@@ -0,0 +1,39 @@
+What:          /sys/fs/xfs/<disk>/log/log_head_lsn
+Date:          July 2014
+KernelVersion: 3.17
+Contact:       xfs@oss.sgi.com
+Description:
+               The log sequence number (LSN) of the current head of the
+               log. The LSN is exported in "cycle:basic block" format.
+Users:         xfstests
+
+What:          /sys/fs/xfs/<disk>/log/log_tail_lsn
+Date:          July 2014
+KernelVersion: 3.17
+Contact:       xfs@oss.sgi.com
+Description:
+               The log sequence number (LSN) of the current tail of the
+               log. The LSN is exported in "cycle:basic block" format.
+
+What:          /sys/fs/xfs/<disk>/log/reserve_grant_head
+Date:          July 2014
+KernelVersion: 3.17
+Contact:       xfs@oss.sgi.com
+Description:
+               The current state of the log reserve grant head. It
+               represents the total log reservation of all currently
+               outstanding transactions. The grant head is exported in
+               "cycle:bytes" format.
+Users:         xfstests
+
+What:          /sys/fs/xfs/<disk>/log/write_grant_head
+Date:          July 2014
+KernelVersion: 3.17
+Contact:       xfs@oss.sgi.com
+Description:
+               The current state of the log write grant head. It
+               represents the total log reservation of all currently
+               oustanding transactions, including regrants due to
+               rolling transactions. The grant head is exported in
+               "cycle:bytes" format.
+Users:         xfstests