[RFC Aufs2 #3 0/2] 'debug' module parm and /sys/fs/aufs entries

From: J. R. Okajima
Date: Thu Mar 19 2009 - 01:13:28 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/