Re: [PATCH] Btrfs: fix data corruption after fast fsync and writeback error

2014-09-08 Thread Chris Mason
On 09/05/2014 10:14 AM, Filipe Manana wrote: When we do a fast fsync, we start all ordered operations and then while they're running in parallel we visit the list of modified extent maps and construct their matching file extent items and write them to the log btree. After that, in

[PATCH] Btrfs: fix data corruption after fast fsync and writeback error

2014-09-05 Thread Filipe Manana
When we do a fast fsync, we start all ordered operations and then while they're running in parallel we visit the list of modified extent maps and construct their matching file extent items and write them to the log btree. After that, in btrfs_sync_log() we wait for all the ordered operations to