| To: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 21/23] xfs: aio cow tests |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Tue, 9 Feb 2016 19:32:15 +1100 |
| Cc: | linux-btrfs@xxxxxxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160209011401.23099.38.stgit@xxxxxxxxxxxxxxxx> |
| References: | <20160209011145.23099.95354.stgit@xxxxxxxxxxxxxxxx> <20160209011401.23099.38.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Mon, Feb 08, 2016 at 05:14:01PM -0800, Darrick J. Wong wrote: .,,, > + > +echo "Check for damage" > +_dmerror_unmount > +_dmerror_cleanup > +_repair_scratch_fs >> "$seqres.full" 2>&1 Are you testing repair here? If so, why doesn't failure matter. If not, why do it? Or is _require_scratch_nocheck all that is needed here? > +echo "CoW and unmount" > +"$XFS_IO_PROG" -f -c "pwrite -S 0x63 $((blksz * bsz)) 1" "$testdir/file2" >> > "$seqres.full" > +"$XFS_IO_PROG" -f -c "pwrite -S 0x63 -b $((blksz * bsz)) 0 $((blksz * nr))" > "$TEST_DIR/moo" >> "$seqres.full" offset = block size times block size? I think some better names might be needed... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| Previous by Date: | Re: [PATCH 19/23] xfs: test rmapbt functionality, Dave Chinner |
|---|---|
| Next by Date: | Re: [PATCH 12/23] xfs/122: support refcount/rmap data structures, Dave Chinner |
| Previous by Thread: | [PATCH 21/23] xfs: aio cow tests, Darrick J. Wong |
| Next by Thread: | Re: [PATCH 21/23] xfs: aio cow tests, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |