aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2010-01-29 18:38:28 -0500
committerThomas Gleixner <tglx@linutronix.de>2010-04-27 11:32:43 -0400
commit6c2613987518fa790e4eb7b2c649051d61cdd599 (patch)
tree219a4fb2507b96a50fe17589b1e4f5a94d125fd9 /include/linux/writeback.h
parent1bb96f6d4dece641a9e9d7b97b109f6930967067 (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.h1
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
12extern spinlock_t inode_lock; 12extern spinlock_t inode_lock;
13extern spinlock_t sb_inode_list_lock; 13extern spinlock_t sb_inode_list_lock;
14extern spinlock_t wb_inode_list_lock;
14extern spinlock_t inode_hash_lock; 15extern spinlock_t inode_hash_lock;
15extern struct list_head inode_in_use; 16extern struct list_head inode_in_use;
16extern struct list_head inode_unused; 17extern struct list_head inode_unused;