[PATCH 0/9] nilfs2: introduce functionality of creation of sysfs groups and attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patchset implements creation of sysfs groups and attributes with
the purpose to show NILFS2 volume details and internal state of
the driver.

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 |   16 +-
 fs/nilfs2/the_nilfs.h |   20 +-
 7 files changed, 1359 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




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux