Patch Revert Btrfs: race free update of commit root for ro snapshots has been added to the 3.17-stable tree

2014-10-19 Thread gregkh
This is a note to let you know that I've just added the patch titled Revert Btrfs: race free update of commit root for ro snapshots to the 3.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

[PATCH] Revert Btrfs: race free update of commit root for ro snapshots

2014-10-15 Thread Filipe Manana
This reverts commit 9c3b306e1c9e6be4be09e99a8fe2227d1005effc. Switching only one commit root during a transaction is wrong because it leads the fs into an inconsistent state. All commit roots should be switched at once, at transaction commit time, otherwise backref walking can often miss

Re: [PATCH] Revert Btrfs: race free update of commit root for ro snapshots

2014-10-15 Thread Chris Mason
On Wed, Oct 15, 2014 at 2:37 PM, Filipe Manana fdman...@gmail.com wrote: This reverts commit 9c3b306e1c9e6be4be09e99a8fe2227d1005effc. Switching only one commit root during a transaction is wrong because it leads the fs into an inconsistent state. All commit roots should be switched at

Re: [PATCH] Revert Btrfs: race free update of commit root for ro snapshots

2014-10-15 Thread john terragon
Hi. I applied the patch to 3.17.1 but although I haven't seen any corrupted ro snapshot yet it's still impossible to do btrfs send. As soon as I start btrfs send I still get ERROR: send ioctl failed with -12: Cannot allocate memory even if I redirect btrfs send's output to a file (instead of

Re: [PATCH] Revert Btrfs: race free update of commit root for ro snapshots

2014-10-15 Thread Filipe David Manana
On Wed, Oct 15, 2014 at 11:42 PM, john terragon jterra...@gmail.com wrote: Hi. I applied the patch to 3.17.1 but although I haven't seen any corrupted ro snapshot yet it's still impossible to do btrfs send. As soon as I start btrfs send I still get ERROR: send ioctl failed with -12: Cannot