Re: [PATCH] Btrfs: fix unreplayable log after snapshot deletion and parent re-creation

2016-03-30 Thread Filipe Manana
On Thu, Mar 24, 2016 at 5:06 PM, wrote: > From: Filipe Manana > > If we delete a snapshot, delete its parent directory, create a new > directory with the same name as that parent and then fsync either that > new directory or some file inside it, we end up with a log tree that > is not possible t

[PATCH] Btrfs: fix unreplayable log after snapshot deletion and parent re-creation

2016-03-24 Thread fdmanana
From: Filipe Manana If we delete a snapshot, delete its parent directory, create a new directory with the same name as that parent and then fsync either that new directory or some file inside it, we end up with a log tree that is not possible to replay because the log replay procedure interprets