Hi, This second version of patchset implements creation of sysfs groups and attributes with the purpose to show NILFS2 volume details and internal state of the driver. v1->v2 * Improve human-readable format of timestamp output (Michael L. Semon) * Fix issue with nilfs_sysfs_{create/delete}_snapshot_group (Michael L. Semon) Implemented functionality creates such groups: (1) /sys/fs/nilfs - root group (2) /sys/fs/nilfs/features - group contains attributes that describe NILFS file system driver features (3) /sys/fs/nilfs/<device> - group contains attributes that describe file system partition's details (4) /sys/fs/nilfs/<device>/superblock - group contains attributes that describe superblock's details (5) /sys/fs/nilfs/<device>/segctor - group contains attributes that describe segctor thread activity details (6) /sys/fs/nilfs/<device>/segments - group contains attributes that describe details about volume's segments (7) /sys/fs/nilfs/<device>/checkpoints - group contains attributes that describe details about volume's checkpoints (8) /sys/fs/nilfs/<device>/mounted_snapshots - group contains group for every mounted snapshot (9) /sys/fs/nilfs/<device>/mounted_snapshots/<snapshot> - group contains details about mounted snapshot With the best regards, Vyacheslav Dubeyko. --- fs/nilfs2/Makefile | 2 +- fs/nilfs2/nilfs.h | 8 + fs/nilfs2/super.c | 9 +- fs/nilfs2/sysfs.c | 1134 +++++++++++++++++++++++++++++++++++++++++++++++++ fs/nilfs2/sysfs.h | 174 ++++++++ fs/nilfs2/the_nilfs.c | 17 +- fs/nilfs2/the_nilfs.h | 20 +- 7 files changed, 1360 insertions(+), 4 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html