diff options
author | Nick Piggin <npiggin@suse.de> | 2010-01-29 15:38:26 -0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 17:32:40 +0200 |
commit | bea12790ba6dbab68571e58cd3e74585888850ee (patch) | |
tree | 32228eb74f42dd87708f71ebdf2733280003872c /include | |
parent | c2a70ba1f43bdf30f35479cf0e641136d5f979e7 (diff) | |
download | lwn-bea12790ba6dbab68571e58cd3e74585888850ee.tar.gz lwn-bea12790ba6dbab68571e58cd3e74585888850ee.zip |
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')
-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 @@ struct backing_dev_info; extern spinlock_t inode_lock; +extern spinlock_t sb_inode_list_lock; extern struct list_head inode_in_use; extern struct list_head inode_unused; |