diff options
author | Nick Piggin <npiggin@suse.de> | 2010-01-29 18:38:22 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 11:32:34 -0400 |
commit | 0ae6d894c8a82fc64d7203a5d342304005ba2aae (patch) | |
tree | aad267a218360f860efdbce653767f4bffc9d8c3 /include/linux/dcache.h | |
parent | b9ab2f38fdee96ff49b8a7bbb65cbfc60921e40c (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.h | 1 |
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 | ||
189 | extern spinlock_t dcache_inode_lock; | ||
189 | extern spinlock_t dcache_hash_lock; | 190 | extern spinlock_t dcache_hash_lock; |
190 | extern spinlock_t dcache_lock; | 191 | extern spinlock_t dcache_lock; |
191 | extern seqlock_t rename_lock; | 192 | extern seqlock_t rename_lock; |