Skip to content

xfs: delayed allocation @ ENOSPC fixes

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: check for more work before sleeping in xfssyncdfs/xfs/linux-2.6/xfs_sync.c+3 -32 replies
2/3xfs: truncate delalloc extents when IO fails in writebackfs/xfs/linux-2.6/xfs_aops.c fs/xfs/xfs_bmap.c+100 -127 replies
3/3xfs: Increase the default size of the reserved blocks poolfs/xfs/xfs_mount.c+29 -202 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigAlex Elder
1/3
2/3R-b
3/3R-b

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/3] xfs: delayed allocation @ ENOSPC fixes

The first patch fixes an extreme slowdown when lots of concurrent threads are trying to flush inodes - xfssyncd can "miss" work that is queued and so can result in a flush waiting for 30s for the next timeout. Test 225 can take 15 minutes to run without this fix. Withthe fix it consistently takes about 50s.

The second patch prevents stale delayed allocation mappings from being left on inodes when we discard a page in writeback due to an IO error or an ENOSPC condition. The stale mappings can cause a BUG() to be triggered during subsequent direct IO reads.

The last patch increases the size of the reserve block pool to reduce the possibility of getting ENOSPC conditions during delayed allocation that would trigger the page tossing in the first place. This requires some QA tests to be updated - that will follow in a separate patch.

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