CVS log for xfs-cmds/xfstests/dmapi/src/suite2/src/test_hole.c

[BACK] Up to [Development] / xfs-cmds / xfstests / dmapi / src / suite2 / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 18 16:09:09 2008 UTC (9 years, 4 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +16 -7 lines
Diff to previous 1.8 (colored)

fix XFSQA 145 / test_hole

There are two errors I see all the time in 145:

 - dm_probe_hole returns EINVAL for offsets close to the file size
 - dm_probe_hole wants EAGAIN for a probe at offset 1, length 0


The first error is a consequence of how the hole puching / probing
works.  It always rounds the requested offset up to the next block
size and then checks if that rounded offset still fits into the file
size.  Just do the same rounding in the testcase to make sure we don't
probe invalid offsets.

The second error is very odd to me, as we never return AGAIN in the
whole dm_probe_hole path.  I've just commented it out.

I've also re-enabled the E2BIG to past-EOF test that was uncommented
before because it works perfectly fine now.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31330a by kenmcd.

  fix XFSQA 145 / test_hole

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 9 02:50:19 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.7: +14 -28 lines
Diff to previous 1.7 (colored)

Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24329a by kenmcd.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 4 23:07:56 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

Update copyright dates (again)

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 4 22:53:09 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

Undoes mod:     xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 4 17:58:21 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Update copyright dates

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 4 16:13:43 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

No Message Supplied

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 8 17:52:41 2001 UTC (16 years, 7 months ago) by roehrich
Branch: MAIN
CVS Tags: Release-1_0_0, Linux-2_4_5-merge
Changes since 1.2: +2 -6 lines
Diff to previous 1.2 (colored)

merge irix dmapi test changes
merge irix changes

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 7 22:43:23 2001 UTC (16 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.1: +5 -2 lines
Diff to previous 1.1 (colored)

Update dmapi test suite, add Makefiles, remove Conscript files.
update

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 17 01:24:14 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN

cmd/xfsprogs/libdm/dmapi_tests/src/suite2/src/test_hole.c 1.1 Renamed to cmd/xfstests/dmapi/src/suite2/src/test_hole.c

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>