Skip to content

Sync and VFS scalability improvements

Josef Bacik linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9writeback: plug writeback at a high levelfs/fs-writeback.c+3 -00 replies
2/9inode: add IOP_NOTHASHED to avoid inode hash lock in evictfs/xfs/xfs_iops.c include/linux/fs.h+4 -15 replies
3/9inode: convert inode_sb_list_lock to per-sbfs/block_dev.c fs/drop_caches.c fs/fs-writeback.c +7 more+57 -540 replies
4/9sync: serialise per-superblock sync operationsfs/fs-writeback.c fs/super.c include/linux/fs.h+14 -00 replies
5/9inode: rename i_wb_list to i_io_listfs/fs-writeback.c fs/inode.c include/linux/fs.h +1 more+18 -180 replies
6/9bdi: add a new writeback list for syncfs/fs-writeback.c fs/inode.c include/linux/backing-dev.h +3 more+119 -161 reply
7/9writeback: periodically trim the writeback listfs/fs-writeback.c+19 -02 replies
8/9inode: convert per-sb inode list to a list_lrufs/block_dev.c fs/drop_caches.c fs/inode.c +4 more+340 -2553 replies
9/9inode: don't softlockup when evicting inodesfs/inode.c+8 -01 reply

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/9R-b
2/9R-b R-b
3/9R-b
4/9R-b
5/9R-b
6/9
7/9R-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Sync and VFS scalability improvements

These are patches that Dave Chinner wrote two years ago that are still very much needed today. I recently ran into a problem where I had millions of inodes that needed to be evicted at unmount time and it soft locked up the box and kept any other file system from doing work. These patches fix this problem by breaking the inode_sb_list_lock into per-sb, and then converting the per sb inode list into a list_lru for better scalability.

I've also pulled forward Dave's sync scalability patches which still seem pretty relevant. I had to fix a couple of these to bring them forward but I touched very little and I've preserved the authorship of everything. I added the Reviewed-by's that were there when the patches were originally submitted. I've run this through xfstests on btrfs and xfs and verified that everything seems to be working. If you are interested the original submission can be found here

http://lwn.net/Articles/561569/

Finally the last patch is from me and this fixes the softlockup problems I was seeing on unmount with a large amount of inodes that needed to be evicted. Thanks,

Josef