aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2010-01-29 18:38:22 -0500
committerThomas Gleixner <tglx@linutronix.de>2010-04-27 11:32:34 -0400
commit0ae6d894c8a82fc64d7203a5d342304005ba2aae (patch)
treeaad267a218360f860efdbce653767f4bffc9d8c3 /include/linux/dcache.h
parentb9ab2f38fdee96ff49b8a7bbb65cbfc60921e40c (diff)
fs-dcache-scale-i_dentry
Add a new lock, dcache_inode_lock, to protect the inode's i_dentry list from concurrent modification. d_alias is also protected by d_lock. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 8a6bb7157ff5..0bd92fdeb153 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -186,6 +186,7 @@ d_iput: no no no yes
186 186
187#define DCACHE_FSNOTIFY_PARENT_WATCHED 0x0080 /* Parent inode is watched by some fsnotify listener */ 187#define DCACHE_FSNOTIFY_PARENT_WATCHED 0x0080 /* Parent inode is watched by some fsnotify listener */
188 188
189extern spinlock_t dcache_inode_lock;
189extern spinlock_t dcache_hash_lock; 190extern spinlock_t dcache_hash_lock;
190extern spinlock_t dcache_lock; 191extern spinlock_t dcache_lock;
191extern seqlock_t rename_lock; 192extern seqlock_t rename_lock;