[RFC PATCH] Btrfs: fix old data problem caused by aio vs dio

2012-06-19 Thread Miao Xie
The 209th case of xfstests failed because of the race between aio and dio. The detail reason is following: Task1 Task2 Btrfs-worker invalidate pages read pages do direct io

Re: [RFC PATCH] Btrfs: fix old data problem caused by aio vs dio

2012-06-19 Thread Chris Mason
On Tue, Jun 19, 2012 at 06:39:47AM -0600, Miao Xie wrote: The 209th case of xfstests failed because of the race between aio and dio. The detail reason is following: Task1 Task2 Btrfs-worker invalidate pages read pages