On Fri, Feb 02, 2018 at 11:45:46AM +0000, Filipe Manana wrote:
> On Tue, Dec 19, 2017 at 7:44 AM, Qu Wenruo <w...@suse.com> wrote:
> > When multiple pending snapshots referring the same source subvolume are
> > executed, enabled quota will cause root item corruption, where root
> > items are using old bytenr (no backref in extent tree).
> > This can be triggered by fstests btrfs/152.
> > The cause is when source subvolume is still dirty, extra commit
> > (simplied transaction commit) of qgroup_account_snapshot() can skip
> > dirty roots not recorded in current transaction, making root item of
> > source subvolume not updated.
> > Fix it by forcing recording source subvolume in current transaction
> > before qgroup sub-transaction commit.
> > Reported-by: Justin Maggard <jmagg...@netgear.com>
> > Signed-off-by: Qu Wenruo <w...@suse.com>
> Reviewed-by: Filipe Manana <fdman...@suse.com>
I overlooked the patch, sorry. Added to next now, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html