diff options
author | Nick Piggin <npiggin@suse.de> | 2010-10-20 20:49:30 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-25 21:26:15 -0400 |
commit | 7ccf19a8042e343f8159f8a5fdd6a9422aa90c78 (patch) | |
tree | 9a69aaad6eb8992cae06f44dfea8c1d94f2a7f99 /include/linux/fs.h | |
parent | a5491e0c7bb7387e3e6ff9994d6dc2efc78af56c (diff) |
fs: inode split IO and LRU lists
The use of the same inode list structure (inode->i_list) for two
different list constructs with different lifecycles and purposes
makes it impossible to separate the locking of the different
operations. Therefore, to enable the separation of the locking of
the writeback and reclaim lists, split the inode->i_list into two
separate lists dedicated to their specific tracking functions.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d58059944801..f300a6508818 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -723,7 +723,8 @@ struct posix_acl; | |||
723 | 723 | ||
724 | struct inode { | 724 | struct inode { |
725 | struct hlist_node i_hash; | 725 | struct hlist_node i_hash; |
726 | struct list_head i_list; /* backing dev IO list */ | 726 | struct list_head i_wb_list; /* backing dev IO list */ |
727 | struct list_head i_lru; /* inode LRU list */ | ||
727 | struct list_head i_sb_list; | 728 | struct list_head i_sb_list; |
728 | struct list_head i_dentry; | 729 | struct list_head i_dentry; |
729 | unsigned long i_ino; | 730 | unsigned long i_ino; |