Re: [BUG] btrfs: report a direct-IO bug

From: Josef Bacik
Date: Wed May 05 2010 - 21:57:03 EST


On Thu, May 06, 2010 at 09:47:45AM +0800, liubo wrote:
> When we tested the series of jim owens' direct-IO patch, a bug occured.
>
> It could be reproduced on a 2.6.34-rc6 kernel with
> direct-IO patch by the following steps...
>
> # mkfs.btrfs /dev/sdb
> # mount /dev/sdb /home/btrfsdisk
> # cd /home/btrfsdisk
> # create test.c
> # dd if=/dev/zero of=file bs=7K count=1
> # gcc test.c -o test
> # ./test
>

I'm in the middle of re-working the DIO code. You can pull from my git tree

http://git.kernel.org/?p=linux/kernel/git/josef/btrfs-unstable-josef.git;a=summary

Pull from the my-dio branch. It survives fsx, but it fails on 5 out of 7 AIO
tests in xfstests, which I'm tracking down. Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/