forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Vyacheslav Dubeyko <[email protected]> Cc: Ryusuke Konishi <[email protected]> Cc: Michael L. Semon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
4 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,3 +248,22 @@ Contact: "Vyacheslav Dubeyko" <[email protected]> | |
Description: | ||
Describe content of /sys/fs/nilfs2/<device>/mounted_snapshots | ||
group. | ||
|
||
What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/inodes_count | ||
Date: April 2014 | ||
Contact: "Vyacheslav Dubeyko" <[email protected]> | ||
Description: | ||
Show number of inodes for snapshot. | ||
|
||
What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/blocks_count | ||
Date: April 2014 | ||
Contact: "Vyacheslav Dubeyko" <[email protected]> | ||
Description: | ||
Show number of blocks for snapshot. | ||
|
||
What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/README | ||
Date: April 2014 | ||
Contact: "Vyacheslav Dubeyko" <[email protected]> | ||
Description: | ||
Describe attributes of /sys/fs/nilfs2/<device>/mounted_snapshots/<id> | ||
group. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters