Skip to content

xfs: delalloc, dio and corruption...

Dave Chinner linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 12 repliesIn review
  2. v1 RFC6 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xfs: kill buffers over failed write ranges properlyfs/xfs/xfs_aops.c+10 -01 reply
2/6xfs: write failure beyond EOF truncates too much datafs/xfs/xfs_aops.c+11 -21 reply
3/6xfs: xfs_vm_write_end truncates too much on failurefs/xfs/xfs_aops.c+10 -42 replies
4/6xfs: zeroing space needs to punch delalloc blocksfs/xfs/xfs_bmap_util.c fs/xfs/xfs_trace.h+13 -15 replies
5/6xfs: don't map ranges that span EOF for direct IOfs/xfs/xfs_aops.c+14 -01 reply
6/6xfs: collapse range is delalloc challenged.fs/xfs/xfs_bmap.c+11 -61 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigBrian Foster
SeriesT-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v2 thread

Cover letter [PATCH 0/6 v2] xfs: delalloc, dio and corruption...

Hi folks,

This is version 2 of the DIO vs delalloc patchset I posted here:

http://oss.sgi.com/archives/xfs/2014-03/msg00313.html

The changes to this version are:

- the bug fix to patch 2 that Brain noticed,
- I dropped the delalloc extent splittting patch because with the fix to patch 2 I can't trigger that bug anymore, and that patch was causing transaction overruns in xfs/297. Hence without an existing reproducer, I won't try to fix that problem.
- the last patch is new, and is a bug in the collapse range code where it fails to shift the last N extents correctly if there are N delalloc extents before the shifted range.

With these 6 patches, all of the xfstests fsx/fsstress tests pass on 1k, 2k and 4k block size filesystems, with and without CRCs enabled, on 1, 2 and 16p test VMs.

I'm much happier with these patches now - I don't think that there are more problems lurking, but only time will tell. I'd like to get these fixes to Linus for 3.15 (probably for -rc2), so eyeballs and testing would be appreciated.

Cheers,

Dave.

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