diff options
author | Vyacheslav Dubeyko <Vyacheslav.Dubeyko@hgst.com> | 2014-08-08 17:20:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:20 -0400 |
commit | abc968dbf291955ac750ecf59e3baf2b529a8257 (patch) | |
tree | 5dc6aae763f1b1734c899588cdbda207cf914abe /Documentation | |
parent | caa05d49dfd7fe04820ba8b7e424343d5426a7f3 (diff) |
nilfs2: add /sys/fs/nilfs2/<device>/segctor group
This patch adds creation of /sys/fs/nilfs2/<device>/segctor
group.
The segctor group contains attributes that describe
segctor thread activity details:
(1) last_pseg_block - show start block number of the latest segment.
(2) last_seg_sequence - show sequence value of the latest segment.
(3) last_seg_checkpoint - show checkpoint number of the latest segment.
(4) current_seg_sequence - show segment sequence counter.
(5) current_last_full_seg - show index number of the latest full segment.
(6) next_full_seg - show index number of the full segment index
to be used next.
(7) next_pseg_offset - show offset of next partial segment in
the current full segment.
(8) next_checkpoint - show next checkpoint number.
(9) last_seg_write_time - show write time of the last segment
in human-readable format.
(10) last_seg_write_time_secs - show write time of the last segment
in seconds.
(11) last_nongc_write_time - show write time of the last segment
not for cleaner operation in human-readable format.
(12) last_nongc_write_time_secs - show write time of the last segment
not for cleaner operation in seconds.
(13) dirty_data_blocks_count - show number of dirty data blocks.
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')
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-nilfs2 | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-nilfs2 b/Documentation/ABI/testing/sysfs-fs-nilfs2 index e9b4c61aa88a..c9952f4071e7 100644 --- a/Documentation/ABI/testing/sysfs-fs-nilfs2 +++ b/Documentation/ABI/testing/sysfs-fs-nilfs2 | |||
@@ -89,3 +89,93 @@ Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | |||
89 | Description: | 89 | Description: |
90 | Describe attributes of /sys/fs/nilfs2/<device>/superblock | 90 | Describe attributes of /sys/fs/nilfs2/<device>/superblock |
91 | group. | 91 | group. |
92 | |||
93 | What: /sys/fs/nilfs2/<device>/segctor/last_pseg_block | ||
94 | Date: April 2014 | ||
95 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
96 | Description: | ||
97 | Show start block number of the latest segment. | ||
98 | |||
99 | What: /sys/fs/nilfs2/<device>/segctor/last_seg_sequence | ||
100 | Date: April 2014 | ||
101 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
102 | Description: | ||
103 | Show sequence value of the latest segment. | ||
104 | |||
105 | What: /sys/fs/nilfs2/<device>/segctor/last_seg_checkpoint | ||
106 | Date: April 2014 | ||
107 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
108 | Description: | ||
109 | Show checkpoint number of the latest segment. | ||
110 | |||
111 | What: /sys/fs/nilfs2/<device>/segctor/current_seg_sequence | ||
112 | Date: April 2014 | ||
113 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
114 | Description: | ||
115 | Show segment sequence counter. | ||
116 | |||
117 | What: /sys/fs/nilfs2/<device>/segctor/current_last_full_seg | ||
118 | Date: April 2014 | ||
119 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
120 | Description: | ||
121 | Show index number of the latest full segment. | ||
122 | |||
123 | What: /sys/fs/nilfs2/<device>/segctor/next_full_seg | ||
124 | Date: April 2014 | ||
125 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
126 | Description: | ||
127 | Show index number of the full segment index | ||
128 | to be used next. | ||
129 | |||
130 | What: /sys/fs/nilfs2/<device>/segctor/next_pseg_offset | ||
131 | Date: April 2014 | ||
132 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
133 | Description: | ||
134 | Show offset of next partial segment in the current | ||
135 | full segment. | ||
136 | |||
137 | What: /sys/fs/nilfs2/<device>/segctor/next_checkpoint | ||
138 | Date: April 2014 | ||
139 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
140 | Description: | ||
141 | Show next checkpoint number. | ||
142 | |||
143 | What: /sys/fs/nilfs2/<device>/segctor/last_seg_write_time | ||
144 | Date: April 2014 | ||
145 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
146 | Description: | ||
147 | Show write time of the last segment in | ||
148 | human-readable format. | ||
149 | |||
150 | What: /sys/fs/nilfs2/<device>/segctor/last_seg_write_time_secs | ||
151 | Date: April 2014 | ||
152 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
153 | Description: | ||
154 | Show write time of the last segment in seconds. | ||
155 | |||
156 | What: /sys/fs/nilfs2/<device>/segctor/last_nongc_write_time | ||
157 | Date: April 2014 | ||
158 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
159 | Description: | ||
160 | Show write time of the last segment not for cleaner | ||
161 | operation in human-readable format. | ||
162 | |||
163 | What: /sys/fs/nilfs2/<device>/segctor/last_nongc_write_time_secs | ||
164 | Date: April 2014 | ||
165 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
166 | Description: | ||
167 | Show write time of the last segment not for cleaner | ||
168 | operation in seconds. | ||
169 | |||
170 | What: /sys/fs/nilfs2/<device>/segctor/dirty_data_blocks_count | ||
171 | Date: April 2014 | ||
172 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
173 | Description: | ||
174 | Show number of dirty data blocks. | ||
175 | |||
176 | What: /sys/fs/nilfs2/<device>/segctor/README | ||
177 | Date: April 2014 | ||
178 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
179 | Description: | ||
180 | Describe attributes of /sys/fs/nilfs2/<device>/segctor | ||
181 | group. | ||