Skip to content

Fix inode reclaim problems (hopefully)

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: reclaim inodes under a write lockfs/xfs/linux-2.6/xfs_sync.c fs/xfs/linux-2.6/xfs_sync.h fs/xfs/quota/xfs_qm_syscalls.c+46 -481 reply
2/2xfs: reclaim all inodes by background tree walksfs/xfs/linux-2.6/xfs_super.c fs/xfs/linux-2.6/xfs_sync.c+16 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix inode reclaim problems (hopefully)

These two patches seem to fix the inode reclaim issues I've been able to reproduce lately. The changes are still running xfsqa in a loop to confirm this, but the directory/small file stress test I've been running to trigger the problem has run for 10 hours with these fixes instead of dying after 20-30 minutes.

The first patch is a rewrite of Christoph's reclaim under write lock fixes without all the code duplication, and the second avoids direct reclaim altogether because xfs_inode_clean() needs to be run when the flush lock is held to ensure the inode not under IO and really is reclaimable.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs