diff options
author | Vyacheslav Dubeyko <Vyacheslav.Dubeyko@hgst.com> | 2014-08-08 17:20:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:20 -0400 |
commit | ef43d5cd84b7d2ea09846de34e14be7d74be3e6f (patch) | |
tree | 67163715eb9012e931f9a7eefafe59a71ad20401 /Documentation/ABI | |
parent | abc968dbf291955ac750ecf59e3baf2b529a8257 (diff) |
nilfs2: add /sys/fs/nilfs2/<device>/segments group
This patch adds creation of /sys/fs/nilfs2/<device>/segments
group.
The segments group contains attributes that describe
details about volume's segments:
(1) segments_number - show number of segments on volume.
(2) blocks_per_segment - show number of blocks in segment.
(3) clean_segments - show count of clean segments.
(4) dirty_segments - show count of dirty segments.
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')
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-nilfs2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-nilfs2 b/Documentation/ABI/testing/sysfs-fs-nilfs2 index c9952f4071e7..d39e0768171e 100644 --- a/Documentation/ABI/testing/sysfs-fs-nilfs2 +++ b/Documentation/ABI/testing/sysfs-fs-nilfs2 | |||
@@ -179,3 +179,34 @@ Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | |||
179 | Description: | 179 | Description: |
180 | Describe attributes of /sys/fs/nilfs2/<device>/segctor | 180 | Describe attributes of /sys/fs/nilfs2/<device>/segctor |
181 | group. | 181 | group. |
182 | |||
183 | What: /sys/fs/nilfs2/<device>/segments/segments_number | ||
184 | Date: April 2014 | ||
185 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
186 | Description: | ||
187 | Show number of segments on a volume. | ||
188 | |||
189 | What: /sys/fs/nilfs2/<device>/segments/blocks_per_segment | ||
190 | Date: April 2014 | ||
191 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
192 | Description: | ||
193 | Show number of blocks in segment. | ||
194 | |||
195 | What: /sys/fs/nilfs2/<device>/segments/clean_segments | ||
196 | Date: April 2014 | ||
197 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
198 | Description: | ||
199 | Show count of clean segments. | ||
200 | |||
201 | What: /sys/fs/nilfs2/<device>/segments/dirty_segments | ||
202 | Date: April 2014 | ||
203 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
204 | Description: | ||
205 | Show count of dirty segments. | ||
206 | |||
207 | What: /sys/fs/nilfs2/<device>/segments/README | ||
208 | Date: April 2014 | ||
209 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
210 | Description: | ||
211 | Describe attributes of /sys/fs/nilfs2/<device>/segments | ||
212 | group. | ||