sysfs support for namespaces
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/15 | kobject: Cleanup kobject_rename and !CONFIG_SYSFSfs/ include/ lib/ | +17 | 2 replies | |
| 2/15 | sysfs: Support for preventing unmounts.fs/ fs/ | +81 | 1 reply | |
| 3/15 | sysfs: sysfs_get_dentry add a sb parameterfs/ fs/ fs/ | +10 | 1 reply | |
| 4/15 | sysfs: Implement __sysfs_get_dentryfs/ | +39 | 1 reply | |
| 5/15 | sysfs: Rename Support multiple superblocksfs/ | +136 | 1 reply | |
| 6/15 | Introduce sysfs_sd_setattr and fix sysfs_chmodfs/ fs/ fs/ | +18 | 2 replies | |
| 7/15 | sysfs: sysfs_chmod_file handle multiple superblocksfs/ | +25 | 2 replies | |
| 8/15 | sysfs: Make sysfs_mount static once again.fs/ fs/ | +1 | 1 reply | |
| 9/15 | sysfs: Implement sysfs tagged directory support.fs/ fs/ fs/ +7 more | +295 | 29 replies | |
| 10/15 | sysfs: Merge sysfs_rename_dir and sysfs_move_dirfs/ | +38 | 0 replies | |
| 11/15 | sysfs: Implement sysfs_delete_link and sysfs_rename_linkfs/ include/ | +48 | 0 replies | |
| 12/15 | driver core: Implement tagged directory support for device classes.drivers/ drivers/ include/ | +68 | 24 replies | |
| 13/15 | Revert "netns: Fix device renaming for sysfs"net/ net/ net/ | +3 | 0 replies | |
| 14/15 | netns: Enable tagging for net_class directories in sysfsinclude/ net/ net/ | +35 | 0 replies | |
| 15/15 | sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairschedinclude/ include/ kernel/ +1 more | +25 | 0 replies |
Reviews trailers per patch
10 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Tejun Heo | David S. Miller |
|---|---|---|
| 1/15 | A-b | |
| 2/15 | A-b A-b | |
| 3/15 | A-b A-b | |
| 4/15 | A-b A-b | |
| 5/15 | A-b A-b | |
| 6/15 | A-b A-b | |
| 7/15 | A-b | |
| 8/15 | A-b | |
| 9/15 | A-b | A-b A-b |
| 10/15 | ||
| 11/15 | A-b | |
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] sysfs support for namespaces
When multiple namespaces are in use we can get multiple kernel objects with the same name which is currently impossible to represent in sysfs. In particular directories like /sys/class/net and /sys/kernel/uids have significant problems.
Not wanting to change the user space interface and wanting to have a simple implementation where all objects are in the kobject and sysfs trees. The decision has been made to tag objects with the namespace they live in, and in a particular mount of sysfs only display objects with the tag that corresponds to the namespaces in effect when sysfs was mounted.
After the last round of reviews the mount/umount logic is significantly cleaned up and easier to maintain. From a 10,000 foot view the code and the way it functions has remained the
same since we settled on tagged directories a year or so ago. I
intend any future cleanups to be as incremental patches on top of this existing set.
Lack of these patches are keeping the generally complete network namespace work in 2.6.26 from being used and tested more heavily. Can we please get the patches merged?
These patches are based off of 2.6.26-rc8 + the -gregkh tree from last night. Hopefully that means they apply -mm -gregkh and -linux-next.
Eric