Messages in this thread | | | Date | Wed, 18 Oct 2006 11:44:26 -0400 | From | Chris Mason <> | Subject | Re: AIO, DIO fsx tests failures on 2.6.19-rc1-mm1 |
| |
On Tue, Oct 17, 2006 at 03:31:49PM -0700, Badari Pulavarty wrote: > Okay. Finally tracked down the problem I am running into. > This happens only on reiserfs > > # /root/fsx-linux -N 10000 -o 128000 -r 2048 -w 4096 -Z -R -W > jnk > mapped writes DISABLED > doread: read: Invalid argument > Segmentation fault > > Here is the strace for it > .. > ftruncate(3, 2721) = 0 > fstat(3, {st_mode=S_IFREG|0644, st_size=2721, ...}) = 0 > lseek(3, 0, SEEK_END) = 2721 > fstat(3, {st_mode=S_IFREG|0644, st_size=2721, ...}) = 0 > lseek(3, 0, SEEK_END) = 2721 > fstat(3, {st_mode=S_IFREG|0644, st_size=2721, ...}) = 0 > lseek(3, 0, SEEK_END) = 2721 > lseek(3, 0, SEEK_SET) = 0 > read(3, 0x50a800, 2048) = -1 EINVAL (Invalid argument) > > reiserfs getblock() is returing -EINVAL. There is comment in the code > about tail handling and returning EINVAL. BTW, this is not a -mm > issue, it happens on mainline too...
Yes, reiserfs doesn't allow O_DIRECT on tails. You'll have to mount -o notail for this test.
-chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |