diff options
| author | Nick Piggin <npiggin@suse.de> | 2010-01-29 18:38:28 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 11:32:43 -0400 |
| commit | 6c2613987518fa790e4eb7b2c649051d61cdd599 (patch) | |
| tree | 219a4fb2507b96a50fe17589b1e4f5a94d125fd9 /include/linux/writeback.h | |
| parent | 1bb96f6d4dece641a9e9d7b97b109f6930967067 (diff) | |
fs-inode_lock-scale-6
Add a new lock, wb_inode_list_lock, to protect i_list and various lists
which the inode can be put onto.
XXX: haven't audited ocfs2
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/writeback.h')
| -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 5b9178fbb261..90ad0abb935f 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 wb_inode_list_lock; | ||
| 14 | extern spinlock_t inode_hash_lock; | 15 | extern spinlock_t inode_hash_lock; |
| 15 | extern struct list_head inode_in_use; | 16 | extern struct list_head inode_in_use; |
| 16 | extern struct list_head inode_unused; | 17 | extern struct list_head inode_unused; |
