Skip to content

RFC configfs: Make nested default groups lockdep-friendly v2

Louis Rilling lkml ocfs2-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Prepare i_mutex lockdep subclasses for locking of variable path lengthsinclude/linux/fs.h+9 -60 replies
2/4Prepare vfs_rmdir() for further nested i_mutex lockingfs/namei.c+1 -10 replies
3/4configfs: Make nested default groups creations lockdep-friendlyfs/configfs/configfs_internal.h fs/configfs/dir.c fs/configfs/mount.c+59 -80 replies
4/4configfs: Make multiple default_group destructions lockdep friendlyfs/configfs/dir.c+32 -112 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/4] configfs: Make nested default groups lockdep-friendly v2

Hi all,

The following patchset is another try to make configfs recursive inode locking lockdep-friendly. This time lockdep_off()/lockdep_on() are not inserted, but I_MUTEX_* lockdep sub-classes are tweaked to allow some variable-length recursion on the spirit of I_MUTEX_PARENT -> I_MUTEX_CHILD -> I_MUTEX_CHILD + 1 -> ... The lockdep annotations added in configfs are a variant of a previously submitted patch (see
http://oss.oracle.com/pipermail/ocfs2-devel/2008-May/002214.html ), with a much lighter footprint, thanks to a suggestion from Joel.

Thanks for reviewing.

Louis

Signature · 4 lines
Dr Louis Rilling			Kerlabs
Skype: louis.rilling			Batiment Germanium
Phone: (+33|0) 6 80 89 08 23		80 avenue des Buttes de Coesmes
http://www.kerlabs.com/			35700 Rennes