diff options
author | Vyacheslav Dubeyko <Vyacheslav.Dubeyko@hgst.com> | 2014-08-08 17:20:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:21 -0400 |
commit | a5a7332a291b55beb0863b119816d12ffc04dfb0 (patch) | |
tree | 4c217b1629b4f6931e68dcc9abf790f0fa682119 /Documentation/ABI/testing/sysfs-fs-nilfs2 | |
parent | a2ecb791a9d6e71a2d37d66034475a92ebc7e02c (diff) |
nilfs2: add /sys/fs/nilfs2/<device>/mounted_snapshots/<snapshot> group
This patch adds creation of <snapshot> group for every mounted
snapshot in /sys/fs/nilfs2/<device>/mounted_snapshots group.
The group contains details about mounted snapshot:
(1) inodes_count - show number of inodes for snapshot.
(2) blocks_count - show number of blocks for snapshot.
Signed-off-by: Vyacheslav Dubeyko <Vyacheslav.Dubeyko@hgst.com>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Cc: Michael L. Semon <mlsemon35@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-fs-nilfs2')
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-nilfs2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-nilfs2 b/Documentation/ABI/testing/sysfs-fs-nilfs2 index 29dbc8f8bcbd..304ba84a973a 100644 --- a/Documentation/ABI/testing/sysfs-fs-nilfs2 +++ b/Documentation/ABI/testing/sysfs-fs-nilfs2 | |||
@@ -248,3 +248,22 @@ Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | |||
248 | Description: | 248 | Description: |
249 | Describe content of /sys/fs/nilfs2/<device>/mounted_snapshots | 249 | Describe content of /sys/fs/nilfs2/<device>/mounted_snapshots |
250 | group. | 250 | group. |
251 | |||
252 | What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/inodes_count | ||
253 | Date: April 2014 | ||
254 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
255 | Description: | ||
256 | Show number of inodes for snapshot. | ||
257 | |||
258 | What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/blocks_count | ||
259 | Date: April 2014 | ||
260 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
261 | Description: | ||
262 | Show number of blocks for snapshot. | ||
263 | |||
264 | What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/README | ||
265 | Date: April 2014 | ||
266 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
267 | Description: | ||
268 | Describe attributes of /sys/fs/nilfs2/<device>/mounted_snapshots/<id> | ||
269 | group. | ||