225: add additional fiemap-tester run without sync
authorEric Sandeen <sandeen@sandeen.net>
Tue, 8 Mar 2011 15:16:23 +0000 (09:16 -0600)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 8 Mar 2011 15:16:23 +0000 (09:16 -0600)
commitb431918b6dc1eb610aead72a8512788571c8343a
tree17964db451af69406ea0bdbfe5d08d09faf2bc70
parente423b5c584300c738cee95badc13b01bf38c5dc8
225: add additional fiemap-tester run without sync

Chris Mason pointed out that some filesystems were not doing
the right thing on fiemap, in the face of delalloc extents.

Because test 225 ran with FIEMAP_FLAG_SYNC only, this didn't
get caught.  Add a runtime option, and run it both ways.

Note that this changes defaults for fiemap-tester, so that
it no longer calls with FIEMAP_FLAG_SYNC by default, and
a new option -S is added to do so.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
225
225.out
src/fiemap-tester.c