lkml.org 
[lkml]   [2009]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/20] Sysfs cleanups
From
Date

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



\
 
 \ /
  Last update: 2009-05-20 06:13    [W:0.493 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site