Commit Graph

910 Commits

Author SHA1 Message Date
Dave Chinner 373683715e Make sure we take into account newly reserved blocks as introduced
in 964468.
Merge of master-melb:xfs-cmds:29013a by kenmcd.
2007-06-28 15:57:56 +00:00
Dave Chinner 15b4c8d2ad QA tests for filestreams
Merge of master-melb:xfs-cmds:29011a by kenmcd.

  QA tests for filestreams
2007-06-28 15:57:11 +00:00
David Disseldorp f2f5c7b9be change galah QA devs & scratch mount point
Merge of master-melb:xfs-cmds:29001a by kenmcd.
2007-06-27 04:06:04 +00:00
Dave Chinner f64b53535e Make sure 167 completes and unmounts scratch correctly
Merge of master-melb:xfs-cmds:28942a by kenmcd.

  run a sync after killing all the fsstress processes to ensure
  they have all completed before trying to unmount scratch.
2007-06-20 06:15:19 +00:00
Dave Chinner 812b331b29 Clean up whitespace problems with 166.
Merge of master-melb:xfs-cmds:28941a by kenmcd.

  Don't leave trailing whitespace at EOL when filtering output.
2007-06-20 06:14:34 +00:00
Dave Chinner 243826007f add null files tests to auto group
Merge of master-melb:xfs-cmds:28940a by kenmcd.

  leave bad files around for post mortem on failure.
2007-06-20 06:13:49 +00:00
David Disseldorp 1d315d6785 XFSQA 073 is still not correctly cleaning up $tmp,
this is because $tmp.source_dir is not an empty dir.

This change recursively deletes everything in $tmp.source_dir.
Not required for $tmp.loop as it is used as a loopback mountpoint.

the ignore external MKFS_OPTIONS change is no longer required,
as _scratch_mkfs_xfs now handles conflicting options.
Merge of master-melb:xfs-cmds:28863a by kenmcd.

  cleanup tmp and don't kill mkfs options
2007-06-08 16:24:08 +00:00
David Disseldorp 888b474e69 This test enables dmapi return_on_destroy and captures dmapi events
generated by two create/removes. One with file attibutes set, one without.

A dmapi destroy event should be generated in both cases, however PV960928
has shown that it may not be when attributes are not set.
Merge of master-melb:xfs-cmds:28771a by kenmcd.

  test
2007-06-04 06:13:28 +00:00
Dave Chinner b4b13ee325 Make sure the repair tests dirty the filesystem before corrupting it.
Merge of master-melb:xfs-cmds:28770a by kenmcd.

  Make sure the repair tests dirty the filesystem before corrupting it.
2007-06-04 06:12:42 +00:00
Dave Chinner 707df41353 QA test to exercise unwritten extent conversion for sync direct I/O
Merge of master-melb:xfs-cmds:28769a by kenmcd.

  QA test to exercise unwritten extent conversion for sync direct I/O.
2007-06-04 06:11:56 +00:00
fergalh.longdrop.melbourne.sgi.com 512f8130f2 Changed kermit xfsqa targets
Merge of master-melb:xfs-cmds:28706a by kenmcd.

  Changed kermit xfsqa targets
2007-05-25 06:07:23 +00:00
leenap.longdrop.melbourne.sgi.com 8876ff2c2d Adding devices for rizzo to do xfs-qa
Merge of master-melb:xfs-cmds:28644a by kenmcd.

  Adding devices for rizzo to do xfs-qa
2007-05-22 04:03:50 +00:00
David Disseldorp cf13e80eb4 test 121 creates unlinked and still referenced inodes, it doesn't clean up afterwards.
Merge of master-melb:xfs-cmds:28637a by kenmcd.

  do a mount after running test to trigger log recovery
  \.
2007-05-21 15:48:58 +00:00
David Disseldorp 471ab9011a check for mkfs/mount failure
Merge of master-melb:xfs-cmds:28623a by kenmcd.
2007-05-18 06:08:08 +00:00
David Disseldorp 498eb16b55 Currently there are a few ways mkfs options are specified in XFSQA:
1) suite wide MKFS_OPTIONS are specified before tests are run
	e.g.
	vimes:/home/fsgqa/kali/xfsqa/xfstests # export MKFS_OPTIONS="-l size=100m"

2) test wide MKFS_OPTIONS are specified during a particular test
	e.g. 119
	export MKFS_OPTIONS="-l version=2,size=1200b,su=64k"

3) mkfs options are appended by a test at mkfs time
	e.g.  083
	_scratch_mkfs_xfs -dsize=$fsz,agcount=$ags  >>$seq.full

(4) Another form of appending is just appending to MKFS_OPTIONS directly
	e.g. 	114:export MKFS_OPTIONS="$MKFS_OPTIONS -i parent=1"
		115:export MKFS_OPTIONS="$MKFS_OPTIONS -i paths=1"

Conflicts between mkfs options specified with method 1 & 3 are common.
960377 	XFSQA 041, 042 - mkfs fails with large log size MKFS_OPTIONS.

This change means if a mkfs fails where mkfs options have been appended by a test (method 3),
The mkfs is retried using only those options defined by the test.

occurances of method 4 (in test 114 & 115) are also changed to use method 3.

$seq.full logs the fact that a mkfs options conflict has occured.
Merge of master-melb:xfs-cmds:28601a by kenmcd.

  append -i parent mkfs option using _scratch_mkfs_xfs -i parent...
  rather than export MKFS_OPTIONS="$MKFS_OPTIONS -i parent=1.
  this avoids mkfs option conflicts
2007-05-17 15:58:12 +00:00
David Disseldorp db395db976 fix group listing regexp
Merge of master-melb:xfs-cmds:28513a by kenmcd.

  add dmapi group
2007-05-04 06:10:34 +00:00
Dave Chinner 99120c4055 QA test to demonstrate unwritten extent/mmap write problem
Merge of master-melb:xfs-cmds:28456a by kenmcd.

  mmap vs unwritten extents test.
2007-04-23 16:00:46 +00:00
David Disseldorp d0ee0a78a2 fix white space between comments
Merge of master-melb:xfs-cmds:28446a by kenmcd.
2007-04-20 03:59:56 +00:00
David Disseldorp b696ad7802 A bit of a cleanup of common.config and add new QA host.
Merge of master-melb:xfs-cmds:28444a by kenmcd.
2007-04-20 03:59:08 +00:00
Tim Shimmin ef8b8fcc0d Put _qmount_option into common.quota for other quota tests to use.
Merge of master-melb:xfs-cmds:28443a by kenmcd.

  Put _qmount_option into common.quota for other quota tests to use.
2007-04-20 03:58:19 +00:00
Tim Shimmin bf09e8cc4d fixup xfstests Makefile sinch dmapi changes
Merge of master-melb:xfs-cmds:28442a by kenmcd.

  fixup xfstests Makefile sinch dmapi changes
2007-04-20 03:57:28 +00:00
Mohamed Barwani 82ad2b89c0 Added rizzo1 to known host list
Merge of master-melb:xfs-cmds:28405a by kenmcd.

  Added rizzo1 to known host list
2007-04-12 15:41:06 +00:00
Tim Shimmin a906340d27 Output wasn't deterministic. Remove bmap output from stdout,
just have going to seq.full.
Merge of master-melb:xfs-cmds:28376a by kenmcd.

  Execute bits changed from --- to x--
  Fix up bmap output. Meant to remove the testfile on every
  test but forgot to. Also needed to truncate the files
  in the 2nd group of tests which used resvsp so that
  the length/eof was correct for the test.
2007-04-05 15:45:28 +00:00
Tim Shimmin a5bf75d71b Provide conditions to show up problem for dioread on IRIX and Linux
for pv#962005.
Merge of master-melb:xfs-cmds:28362a by kenmcd.

  Provide conditions to show up problem for dioread on IRIX and Linux
  for pv#962005.
2007-04-04 15:57:12 +00:00
Tim Shimmin 59cf9009f6 Some experimentation for pv#962014 doing prealloc, direct write, buffered read etc...
Add more here if come up with other ideas.
Merge of master-melb:xfs-cmds:28351a by kenmcd.

  Some experimentation for pv#962014 doing prealloc, direct write, buffered read etc...
  Add more here if come up with other ideas.
2007-04-04 03:54:24 +00:00