diff options
| author | Nick Piggin <npiggin@suse.de> | 2010-01-29 18:38:26 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 11:32:40 -0400 |
| commit | bea12790ba6dbab68571e58cd3e74585888850ee (patch) | |
| tree | 32228eb74f42dd87708f71ebdf2733280003872c /include/linux/writeback.h | |
| parent | c2a70ba1f43bdf30f35479cf0e641136d5f979e7 (diff) | |
fs-inode_lock-scale
Protect sb->s_inodes with a new lock, sb_inode_list_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/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 76e8903cd204..544363be9933 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | struct backing_dev_info; | 10 | 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 struct list_head inode_in_use; | 14 | extern struct list_head inode_in_use; |
| 14 | extern struct list_head inode_unused; | 15 | extern struct list_head inode_unused; |
| 15 | 16 | ||
