tagged sysfs support
Status from this message: This is a note to let you know that I've just added the patch titled
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sysfs: Basic support for multiple super blocksfs/ fs/ | +59 | 10 replies | |
| 1/6 | kobject: Send hotplug events in all network namespaceslib/ | +60 | 1 reply | |
| 2/6 | kobj: Add basic infrastructure for dealing with namespaces.drivers/ drivers/ include/ +2 more | +204 | 1 reply | |
| 2/6 | netns: Teach network device kobjects which namespace they are in.include/ net/ net/ | +55 | 6 replies | |
| 3/6 | sysfs: Implement sysfs tagged directory support.drivers/ drivers/ drivers/ +10 more | +181 | 21 replies | |
| 3/6 | netlink: Implment netlink_broadcast_filteredinclude/ net/ | +23 | 1 reply | |
| 4/6 | sysfs: Add support for tagged directories with untagged members.fs/ fs/ | +5 | 1 reply | |
| 4/6 | kobj: Send hotplug events in the proper namespace.lib/ | +20 | 1 reply | |
| 5/6 | sysfs: Implement sysfs_delete_linkfs/ include/ | +28 | 1 reply | |
| 5/6 | hotplug: netns aware uevent_helperlib/ | +17 | 1 reply | |
| 6/6 | driver core: Implement ns directory support for device classes.drivers/ | +12 | 1 reply | |
| 6/6 | net: Expose all network devices in a namespaces in sysfsnet/ net/ net/ | +6 | 1 reply |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tejun Heo | Serge Hallyn | David S. Miller |
|---|---|---|---|
| Series | A-b | A-b | |
| 1/6 | A-b A-b | A-b | |
| 1/6 | A-b A-b | A-b | |
| 2/6 | A-b | A-b A-b | |
| 2/6 | A-b | A-b A-b | |
| 3/6 | A-b | ||
| 3/6 | A-b | ||
| 4/6 | A-b | ||
| 4/6 | A-b | ||
| 5/6 | A-b A-b | A-b | |
| 5/6 | A-b A-b | A-b | |
| 6/6 | A-b | ||
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] tagged sysfs support
The main short coming of using multiple network namespaces today is that only network devices for the primary network namespaces can be put in the kobject layer and sysfs.
This is essentially the earlier version of this patchset that was reviewed before, just now on top of a version of sysfs that doesn't need cleanup patches to support it.
I have been running these patches in some form for well over a year so the basics should at least be solid.
This patchset is currently against 2.6.34-rc1.
This patchset is just the basic infrastructure a couple of more pretty trivial patches are needed to actually enable network namespaces to use this. My current plan is to send those after these patches have made it through review.
drivers/base/class.c | 9 ++++ drivers/base/core.c | 98 +++++++++++++++++++++++++++++++++---------- drivers/gpio/gpiolib.c | 2 +- drivers/md/bitmap.c | 4 +- drivers/md/md.c | 6 +- fs/sysfs/bin.c | 2 +- fs/sysfs/dir.c | 106 ++++++++++++++++++++++++++++++++++++----------- fs/sysfs/file.c | 17 ++++--- fs/sysfs/group.c | 6 +- fs/sysfs/inode.c | 6 ++- fs/sysfs/mount.c | 91 +++++++++++++++++++++++++++++++++++++++- fs/sysfs/symlink.c | 35 ++++++++++++++- fs/sysfs/sysfs.h | 23 ++++++++-- include/linux/device.h | 3 + include/linux/kobject.h | 26 +++++++++++ include/linux/sysfs.h | 18 ++++++++ lib/kobject.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++ 17 files changed, 480 insertions(+), 76 deletions(-)
Eric