| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfstests: add simple splice test |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 12 Jan 2011 07:50:42 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20110111173845.GC24025@xxxxxxxxxxxxx> |
| References: | <1294702344-15035-1-git-send-email-david@xxxxxxxxxxxxx> <20110111173845.GC24025@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
On Tue, Jan 11, 2011 at 12:38:45PM -0500, Christoph Hellwig wrote: > > +echo "Feel the serenity." > > + > > +SRC=$TEST_DIR/$seq.src > > +DST=$TEST_DIR/$seq.dst > > + > > +$XFS_IO_PROG -f -c "pwrite -S 0xa5a55a5a 0 32768k" -c fsync $SRC > > > /dev/null 2>&1 > > +$XFS_IO_PROG -f -c "sendfile -i $SRC 0 32768k" -c fsync $DST > /dev/null > > 2>&1 > > + > > +diff $SRC $DST > > I think this should removfe the two files to make sure the test is > reproducible and doesn't overwrite an existing file during the second > run. It removes them in the cleanup function. > Also I'd recomment not to redirect the output to /dev/null but use > our normal xfs_io filters and make the output part of the golden output. Ok. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfstests: add simple splice test, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 4/8] xfs: introduce xfs_rw_lock() helpers for locking the inode, Dave Chinner |
| Previous by Thread: | Re: [PATCH] xfstests: add simple splice test, Christoph Hellwig |
| Next by Thread: | [PATCH 0/8] xfs: prevent corruption due to overlapping AIO DIO V4, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |