aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2010-01-29 18:38:27 -0500
committerThomas Gleixner <tglx@linutronix.de>2010-04-27 11:32:41 -0400
commit97e747df2591f082b4a3964ac5ff784f0ff181f1 (patch)
tree181171e33be62bc4a402f8333a26009656a13a13 /include/linux/writeback.h
parentbea12790ba6dbab68571e58cd3e74585888850ee (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/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 544363be9933..5b9178fbb261 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 inode_hash_lock;
14extern struct list_head inode_in_use; 15extern struct list_head inode_in_use;
15extern struct list_head inode_unused; 16extern struct list_head inode_unused;
16 17