mbox series

[v4,00/12] xfstests: add copy/dedupe/clone to fsx/fsstress

Message ID 154416379233.15344.4377231692638417530.stgit@magnolia (mailing list archive)
Headers show
Series xfstests: add copy/dedupe/clone to fsx/fsstress | expand

Message

Darrick J. Wong Dec. 7, 2018, 6:23 a.m. UTC
Hi all,

This series adds to fsx and fsstress support for FICLONERANGE,
FIDEDUPERANGE, and copy_file_range.  The only differences since v3 have
been to deal with copy_file_range's short copies correctly...ish.

The first three patches fix gcc warnings in fsx and fsstress.

Patch 4 adds an -X option to fsx that causes it to re-read the fsx file
after every operation to compare it to the good buffer.  This made it
easier for me to find corruption problem as soon as they happen, though
it slows down fsx and perturbs in-core state considerably.

Patche 5-6 are a couple of generic reworks to fsx that we need to
support the new clone/dedupe/copy commands.

Patches 7-8 add clone and dedupe to fsx.

Patches 9-10 add copy_file_range support to fsstress and fsx.

Patch 11 fixes the common/dump tests to disable the new commands so that
the dump/restore tests continue to function exactly as they have for
years.

Patch 12 contains long-soak fsx tests designed to draw out corruption
problems by running (1 million * TIME_FACTOR) operations.  These will be
running all weekend during the US Thanksgiving holiday, though I hope
we've sorted out all the problems.

There are known failures in XFS on 4.20-rc5, particularly with
copy_file_range and reflink, all of which hopefully will have been fixed
by the time 4.21 comes out.  Dave Chinner has more fixes in progress to
correct various flaws of copy_file_range.

--D