Messages in this thread | | | From | "J. R. Okajima" <> | Subject | [RFC Aufs2 #3 0/2] 'debug' module parm and /sys/fs/aufs entries | Date | Thu, 19 Mar 2009 14:12:43 +0900 |
| |
Some entires under /sys/fs/aufs still print an abosule path. While sysfs (and procfs?) limits the length of an entry upto PAGE_SIZE, the abs path can be any length. I don't think it is important to support longer path than PAGE_SIZE, so aufs simply returns -EFBIG (regardless this patch).
Following the comments from Greg KH, split /sys/fs/aufs/si_<id>/xino into some files in order to keep "one value per file".
J. R. Okajima (2): replace /sys/fs/aufs/debug by /sys/module/aufs/parmaters/debug split 'xino' entry under sysfs
Documentation/ABI/testing/sysfs-aufs | 62 ++++++++ Documentation/filesystems/aufs/aufs.5 | 8 + fs/aufs/branch.h | 6 + fs/aufs/debug.c | 4 +- fs/aufs/debug.h | 12 +- fs/aufs/sysaufs.c | 6 +- fs/aufs/sysaufs.h | 13 +- fs/aufs/sysfs.c | 260 ++++++++++++++++----------------- 8 files changed, 224 insertions(+), 147 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-aufs
| |