Re: [PATCH] Btrfs: fix leak of subvolume writers counter

2017-01-30 Thread Liu Bo
On Sat, Jan 28, 2017 at 06:06:54AM +, fdman...@kernel.org wrote: > From: Robbie Ko > > When falling back from a nocow write to a regular cow write, we were > leaking the subvolume writers counter in 2 situations, preventing > snapshot creation from ever completing in

[PATCH] Btrfs: fix leak of subvolume writers counter

2017-01-30 Thread fdmanana
From: Robbie Ko When falling back from a nocow write to a regular cow write, we were leaking the subvolume writers counter in 2 situations, preventing snapshot creation from ever completing in the future, as it waits for that counter to go down to zero before the snapshot