Skip to contentSkip to conversation

Test 274 in xfstests

DISCUSSION Jan Kara 2 participants 4 messages May 15, 2012

lore
Share & tools
lore

Jan Kara

author
#0 lore raw

Hello,

test 274 fails e.g. for ext3 because it does not support fallocate(). So
I would think the best way to fix the is to add to the test
_require_xfs_io_falloc()
so that the test is run only for filesystems which do support fallocate. But with that is connected one slightly related question - why does the test use fallocate(1) binary instead of "xfs_io falloc" command which is more common in xfstests?

Honza

Signature · 7 lines
Jan Kara <[email protected]>
SUSE Labs, CR

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw
Quoted 11 lines · Jan Kara

Hello,

test 274 fails e.g. for ext3 because it does not support fallocate(). So
I would think the best way to fix the is to add to the test
_require_xfs_io_falloc()
so that the test is run only for filesystems which do support fallocate. But with that is connected one slightly related question - why does the test use fallocate(1) binary instead of "xfs_io falloc" command which is more common in xfstests?

Honza

Argh I'm behind. I had:

[PATCH V2] xfstests: several 274 fixups

on the list way too long ago.

Want to test that out? It has 1 review on the list, I'll merge it soon - if you want to give it a quick test first, go for it :)

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author Reviewed-by
#2 lore raw
Quoted 13 lines · Eric Sandeen
Quoted 11 lines · Jan Kara

Hello,

test 274 fails e.g. for ext3 because it does not support fallocate(). So
I would think the best way to fix the is to add to the test
_require_xfs_io_falloc()
so that the test is run only for filesystems which do support fallocate. But with that is connected one slightly related question - why does the test use fallocate(1) binary instead of "xfs_io falloc" command which is more common in xfstests?

Honza

Quoted 8 lines

Argh I'm behind. I had:

[PATCH V2] xfstests: several 274 fixups

on the list way too long ago.

Want to test that out? It has 1 review on the list, I'll merge it soon - if you want to give it a quick test first, go for it :)

Yup, the patch works for me (since I'm mostly interested in ext3 not
being tested ;). I also reviewed your patch and it looks OK so feel free to add:

Just one comment. Messages like:
echo "Fill fs with 1M IOs; EIO expected" >> $seq.full
should probably speak of ENOSPC, not EIO, shouldn't they?

Honza

Signature · 7 lines
Jan Kara <[email protected]>
SUSE Labs, CR

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#3 lore raw
Quoted 22 lines · Jan Kara
Quoted 13 lines · Eric Sandeen
Quoted 11 lines · Jan Kara

Hello,

test 274 fails e.g. for ext3 because it does not support fallocate(). So
I would think the best way to fix the is to add to the test
_require_xfs_io_falloc()
so that the test is run only for filesystems which do support fallocate. But with that is connected one slightly related question - why does the test use fallocate(1) binary instead of "xfs_io falloc" command which is more common in xfstests?

Honza

Quoted 8 lines

Argh I'm behind. I had:

[PATCH V2] xfstests: several 274 fixups

on the list way too long ago.

Want to test that out? It has 1 review on the list, I'll merge it soon - if you want to give it a quick test first, go for it :)

Quoted 8 lines

Yup, the patch works for me (since I'm mostly interested in ext3 not
being tested ;). I also reviewed your patch and it looks OK so feel free to add:

Just one comment. Messages like:
echo "Fill fs with 1M IOs; EIO expected" >> $seq.full
should probably speak of ENOSPC, not EIO, shouldn't they?

Oh, yeah, whoops. thanks.

-Eric

Quoted 1 line

Honza

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs