[PATCH] Btrfs-progs: check, ability to detect and fix outdated snapshot root items

2014-10-17 Thread Filipe Manana
This change adds code to detect and fix the issue introduced in the kernel release 3.17, where creation of read-only snapshots lead to a corrupted filesystem if they were created at a moment when the source subvolume/snapshot had orphan items. The issue was that the on-disk root items became

Re: [PATCH] Btrfs-progs: check, ability to detect and fix outdated snapshot root items

2014-10-17 Thread David Sterba
On Fri, Oct 17, 2014 at 06:20:08PM +0100, Filipe Manana wrote: This change adds code to detect and fix the issue introduced in the kernel release 3.17, where creation of read-only snapshots lead to a corrupted filesystem if they were created at a moment when the source subvolume/snapshot had