Sysfs cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 107 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | sysfs: Implement sysfs_rename_linkfs/ include/ | +25 | 81 replies | |
| 2/20 | driver core: Use sysfs_rename_link in device_renamedrivers/ | +6 | 0 replies | |
| 3/20 | sysfs: Remove now unnecessary error reporting suppression.fs/ fs/ fs/ | +21 | 3 replies | |
| 4/20 | sysfs: Handle the general case of removing of directories with subdirectoriesfs/ | +25 | 11 replies | |
| 5/20 | sysfs: Rename sysfs_d_iput to sysfs_dentry_iputfs/ | +2 | 1 reply | |
| 6/20 | sysfs: Use dentry_ops instead of directly playing with the dcachefs/ | +46 | 3 replies | |
| 7/20 | sysfs: Simplify sysfs_chmod_file semanticsfs/ | +1 | 1 reply | |
| 8/20 | sysfs: Optimize just changing the sysfs file mode.fs/ | +14 | 3 replies | |
| 9/20 | sysfs: Simplify iattr assignmentsfs/ | +3 | 1 reply | |
| 10/20 | sysfs: Fix locking and factor out sysfs_sd_setattrfs/ fs/ | +31 | 1 reply | |
| 11/20 | sysfs: Update s_iattr on link and unlink.fs/ | +14 | 1 reply | |
| 12/20 | sysfs: Nicely indent sysfs_symlink_inode_operationsfs/ | +3 | 1 reply | |
| 13/20 | sysfs: Implement sysfs_getattr & sysfs_permissionfs/ fs/ fs/ +1 more | +49 | 1 reply | |
| 14/20 | sysfs: In sysfs_chmod_file lazily propagate the mode change.fs/ | +8 | 1 reply | |
| 15/20 | sysfs: Kill sysfs_addrm_start and sysfs_addrm_finishfs/ fs/ fs/ +2 more | +34 | 1 reply | |
| 16/20 | sysfs: Propagate renames to the vfs on demandfs/ fs/ fs/ +2 more | +32 | 1 reply | |
| 17/20 | sysfs: Merge sysfs_rename_dir and sysfs_move_dirfs/ | +28 | 1 reply | |
| 18/20 | sysfs: Pass super_block to sysfs_get_inodefs/ fs/ fs/ +1 more | +6 | 0 replies | |
| 19/20 | sysfs: Kill unused sysfs_sb variable.fs/ fs/ | +0 | 0 replies | |
| 20/20 | sysfs: Normalize error handling in sysfs_fill_inodefs/ | +11 | 2 replies |
Reviews trailers per patch
14 of 20 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tejun Heo | Kay Sievers |
|---|---|---|
| Series | A-b A-b A-b A-b | |
| 1/20 | A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b | A-b A-b A-b A-b A-b A-b |
| 2/20 | ||
| 3/20 | ||
| 4/20 | ||
| 5/20 | A-b | |
| 6/20 | A-b | |
| 7/20 | A-b | |
| 8/20 | ||
| 9/20 | A-b | |
| 10/20 | A-b | |
| 11/20 | A-b | |
| 12/20 | A-b | |
| 13/20 | A-b | |
| 14/20 | A-b | |
| 15/20 | A-b | |
| 16/20 | A-b | |
| 17/20 | A-b | |
| 18/20 | ||
| 19/20 | ||
| 20/20 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/20] Sysfs cleanups
The following patch series cleans up sysfs to the point where itq is generally a good citizen of the vfs layer. The big theme is lazy synchronization from the sysfs data structures to the vfs data structures using the same techniques as most other distributed filesystems.
This allows the complete removal of i_mutex from the sysfs code, the death of lookup_one_noperm, and probably a few other weird cases that slip my tongue.
Included in this is the latest version of my work that merges sysfs_move_dir and sysfs_rename_dir to simplify maitenance of.
I have been running these patches for several months so there should be no really nasty surprises in here.
drivers/base/core.c | 18 +- fs/namei.c | 22 -- fs/sysfs/dir.c | 565 ++++++++++++++----------------------------------- fs/sysfs/file.c | 47 +---- fs/sysfs/inode.c | 154 ++++++++------ fs/sysfs/mount.c | 20 +- fs/sysfs/symlink.c | 71 +++---- fs/sysfs/sysfs.h | 25 +-- include/linux/namei.h | 1 - include/linux/sysfs.h | 9 + 10 files changed, 325 insertions(+), 607 deletions(-)
Eric