Skip to content

General sysfs enhancements

Eric W. Biederman linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sysfs: Serialize updates to the vfs inodefs/sysfs/inode.c+4 -41 reply
2/7sysfs: Pack sysfs_dirent more tightly.fs/sysfs/sysfs.h+1 -11 reply
3/7sysfs: Keep an nlink count on sysfs directories.fs/sysfs/dir.c fs/sysfs/inode.c fs/sysfs/mount.c +1 more+23 -1412 replies
4/7sysfs: Implement sysfs_rename_linkfs/sysfs/symlink.c include/linux/sysfs.h+47 -02 replies
5/7driver core: Use sysfs_rename_link in device_renamedrivers/base/core.c+6 -122 replies
6/7sysfs: Pass super_block to sysfs_get_inodefs/sysfs/dir.c fs/sysfs/inode.c fs/sysfs/mount.c +1 more+6 -51 reply
7/7sysfs: Kill unused sysfs_sb variable.fs/sysfs/mount.c fs/sysfs/sysfs.h+0 -31 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTejun HeoSerge Hallyn
SeriesA-b A-b A-b A-b A-b A-b A-b A-b A-b A-b
1/7A-b
2/7A-b
3/7
4/7A-b A-b
5/7A-b A-b
6/7A-b A-b
7/7A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] General sysfs enhancements

This patchset is built on top of 2.6.33-rc3 +
"sysfs: Cache the last sysfs_dirent to improve readdir scalability v2"

Greg I assume you have that patch somewhere in queue.

This patchset contains little cleanups all around sysfs.
- Some basic cleanups.
- Some sysfs scaling work
- Implementation of sysfs_rename

 drivers/base/core.c   |   18 ++++++------------
 fs/sysfs/dir.c        |   22 +++++++++++++++++++++-
 fs/sysfs/inode.c      |   28 ++++++++--------------------
 fs/sysfs/mount.c      |    5 ++---
 fs/sysfs/symlink.c    |   38 ++++++++++++++++++++++++++++++++++++++
 fs/sysfs/sysfs.h      |    6 +++---
 include/linux/sysfs.h |    9 +++++++++
 7 files changed, 87 insertions(+), 39 deletions(-)

This should be the final patchset before we can seriously look at network namespace support in sysfs, again.

Eric