diff options
| author | Nick Piggin <npiggin@suse.de> | 2010-01-29 18:38:27 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 11:32:41 -0400 |
| commit | 97e747df2591f082b4a3964ac5ff784f0ff181f1 (patch) | |
| tree | 181171e33be62bc4a402f8333a26009656a13a13 /include | |
| parent | bea12790ba6dbab68571e58cd3e74585888850ee (diff) | |
fs-inode_lock-scale-2
Add a new lock, inode_hash_lock, to protect the inode hash table lists.
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')
| -rw-r--r-- | include/linux/writeback.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 544363be9933..5b9178fbb261 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -11,6 +11,7 @@ struct backing_dev_info; | |||
| 11 | 11 | ||
| 12 | extern spinlock_t inode_lock; | 12 | extern spinlock_t inode_lock; |
| 13 | extern spinlock_t sb_inode_list_lock; | 13 | extern spinlock_t sb_inode_list_lock; |
| 14 | extern spinlock_t inode_hash_lock; | ||
| 14 | extern struct list_head inode_in_use; | 15 | extern struct list_head inode_in_use; |
| 15 | extern struct list_head inode_unused; | 16 | extern struct list_head inode_unused; |
| 16 | 17 | ||
