diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:50:05 -0500 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 01:50:31 -0500 |
commit | ceb5bdc2d246f6d81cf61ed70f325308a11821d2 (patch) | |
tree | 65fc9e0227994d4ffc80530dd15bb5a9672a295e /include/linux/fs.h | |
parent | 626d607435617cc0f033522083e2bb195b81813c (diff) |
fs: dcache per-bucket dcache hash locking
We can turn the dcache hash locking from a global dcache_hash_lock into
per-bucket locking.
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d5a4d42f655b..baf3e556ff0e 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -392,6 +392,7 @@ struct inodes_stat_t { | |||
392 | #include <linux/capability.h> | 392 | #include <linux/capability.h> |
393 | #include <linux/semaphore.h> | 393 | #include <linux/semaphore.h> |
394 | #include <linux/fiemap.h> | 394 | #include <linux/fiemap.h> |
395 | #include <linux/rculist_bl.h> | ||
395 | 396 | ||
396 | #include <asm/atomic.h> | 397 | #include <asm/atomic.h> |
397 | #include <asm/byteorder.h> | 398 | #include <asm/byteorder.h> |
@@ -1377,7 +1378,7 @@ struct super_block { | |||
1377 | const struct xattr_handler **s_xattr; | 1378 | const struct xattr_handler **s_xattr; |
1378 | 1379 | ||
1379 | struct list_head s_inodes; /* all inodes */ | 1380 | struct list_head s_inodes; /* all inodes */ |
1380 | struct hlist_head s_anon; /* anonymous dentries for (nfs) exporting */ | 1381 | struct hlist_bl_head s_anon; /* anonymous dentries for (nfs) exporting */ |
1381 | #ifdef CONFIG_SMP | 1382 | #ifdef CONFIG_SMP |
1382 | struct list_head __percpu *s_files; | 1383 | struct list_head __percpu *s_files; |
1383 | #else | 1384 | #else |