sysfs network namespace support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 53 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | sysfs: Make sysfs_mount static again.fs/ fs/ fs/ | +2 | 0 replies | |
| 2/10 | sysfs: Support for preventing unmounts.fs/ fs/ | +81 | 0 replies | |
| 3/10 | sysfs: sysfs_get_dentry add a sb parameterfs/ fs/ fs/ | +8 | 0 replies | |
| 4/10 | sysfs: Implement __sysfs_get_dentryfs/ | +38 | 0 replies | |
| 5/10 | sysfs: Rename Support multiple superblocksfs/ | +135 | 0 replies | |
| 6/10 | sysfs: sysfs_chmod_file handle multiple superblocksfs/ | +28 | 0 replies | |
| 7/10 | sysfs: Implement sysfs tagged directory support.fs/ fs/ fs/ +6 more | +255 | 0 replies | |
| 8/10 | sysfs: Implement sysfs_delete_link and sysfs_rename_linkfs/ include/ | +48 | 0 replies | |
| 9/10 | driver core: Implement tagged directory support for device classes.drivers/ drivers/ include/ | +55 | 0 replies | |
| 10/10 | net: Enable tagging for net_class directories in sysfsfs/ include/ net/ +1 more | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/10] sysfs network namespace support
Now that we have network namespace support merged it is time to revisit the sysfs support so we can remove the dependency on !SYSFS.
I'm not even trying to base this on any of Tejun's very interesting work on sysfs to remove the coupling between kobjects and sysfs_dirents. For my objective that just means I would need to spend several more weeks staring at sysfs trying to figure out how to get where I am going and iterating several times from yet another new starting place. I want to get something working before I try for anymore perfection.
I don't expect the userspace side of this to ever change which is close enough to perfect for me.
The bulk of the patches are the changes to allow multiple sysfs superblocks.
Then comes the tagged directory sysfs support which uses information captured at mount time to decide which object with which tag will appear in a directory.
Then the support for renaming and deleting objects where the source may be ambiguous because of tagging.
Then finally the network namespace support so it is clear how all of this tied together.
Greg the last patch that enables tagged directory support seems to make most sense living in your tree, as it lives half in fs/sysfs/mount.c, and half in net/core/net-sysfs.c and all of it's dependencies are in Linus tree except for this patchset.
Eric