-
- Downloads
fs: move i_wb_list out from under inode_lock
Protect the inode writeback list with a new global lock inode_wb_list_lock and use it to protect the list manipulations and traversals. This lock replaces the inode_lock as the inodes on the list can be validity checked while holding the inode->i_lock and hence the inode_lock is no longer needed to protect the list. Signed-off-by:Dave Chinner <dchinner@redhat.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/block_dev.c 2 additions, 2 deletionsfs/block_dev.c
- fs/fs-writeback.c 44 additions, 32 deletionsfs/fs-writeback.c
- fs/inode.c 8 additions, 4 deletionsfs/inode.c
- fs/internal.h 5 additions, 0 deletionsfs/internal.h
- include/linux/writeback.h 1 addition, 0 deletionsinclude/linux/writeback.h
- mm/backing-dev.c 4 additions, 4 deletionsmm/backing-dev.c
- mm/filemap.c 4 additions, 4 deletionsmm/filemap.c
- mm/rmap.c 2 additions, 2 deletionsmm/rmap.c
Loading
Please register or sign in to comment