Re: [PATCH v2] xfstests: add test for btrfs clone + fsync durability

2014-06-09 Thread Dave Chinner
On Mon, Jun 09, 2014 at 03:48:52AM +0100, Filipe David Borba Manana wrote: Regression test for btrfs ioctl clone operation + fsync + log recovery. The issue was that doing an fsync after cloning into a file didn't gave any persistence guarantees as it should. What happened was that the in

[PATCH v2] xfstests: add test for btrfs clone + fsync durability

2014-06-08 Thread Filipe David Borba Manana
Regression test for btrfs ioctl clone operation + fsync + log recovery. The issue was that doing an fsync after cloning into a file didn't gave any persistence guarantees as it should. What happened was that the in memory metadata (extent maps) weren't updated, which made the fsync code not able