Skip to content

kernfs: proposed locking and concurrency improvement

Ian Kent linux-fsdevel lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kernfs: move revalidate to be near lookupfs/kernfs/dir.c+43 -430 replies
2/6kernfs: use VFS negative dentry cachingfs/kernfs/dir.c+31 -140 replies
3/6kernfs: use revision to identify directory node changesfs/kernfs/dir.c fs/kernfs/kernfs-internal.h include/linux/kernfs.h+41 -30 replies
4/6kernfs: switch kernfs to use an rwsemfs/kernfs/dir.c fs/kernfs/file.c fs/kernfs/inode.c +3 more+85 -730 replies
5/6kernfs: stay in rcu-walk mode if possiblefs/kernfs/dir.c+47 -12 replies
6/6kernfs: add a spinlock to kernfs iattrs for inode updatesfs/kernfs/inode.c fs/kernfs/kernfs-internal.h+8 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] kernfs: proposed locking and concurrency improvement

Here is what I currently have for the patch series we were discussing recently.

I'm interested to see how this goes with the problem you are seeing.

The last patch in the series (the attributes update patch) has seen no more than compile testing, I hope I haven't messed up on that.

Please keep in mind that Greg's continued silence on the question of whether the series might be re-considered indicates to me that he has not changed his position on this.

---

Ian Kent (6):
kernfs: move revalidate to be near lookup
kernfs: use VFS negative dentry caching
kernfs: use revision to identify directory node changes
kernfs: switch kernfs to use an rwsem
kernfs: stay in rcu-walk mode if possible
kernfs: add a spinlock to kernfs iattrs for inode updates

 fs/kernfs/dir.c             |  285 ++++++++++++++++++++++++++++---------------
 fs/kernfs/file.c            |    4 -
 fs/kernfs/inode.c           |   19 ++-
 fs/kernfs/kernfs-internal.h |   30 ++++-
 fs/kernfs/mount.c           |   12 +-
 fs/kernfs/symlink.c         |    4 -
 include/linux/kernfs.h      |    5 +
 7 files changed, 238 insertions(+), 121 deletions(-)

--
Ian