On 24 February 2011 20:48, liubo <liubo2009@xxxxxxxxxxxxxx> wrote: > On 02/24/2011 04:13 PM, Daniel J Blueman wrote: >> When creating a filesystem (single or redundant) with BTRFS and >> subsequently executing a balance [1], we see a kernel oops at the next >> mount [2]. >> > > Hi, Daniel, > > After digging this, I've come up with a patch on this, would you please test > it on your box? Hopes that this is helpful, Thanks. > > From: Liu Bo <liubo2009@xxxxxxxxxxxxxx> > > [PATCH] btrfs: fix OOPS of empty filesystem after balance > > btrfs will exclude unused block groups via a thread. > When a empty filesystem is balanced, the block group with tag "DATA" may be dropped, > and after umount, this will lead to OOPS when we mount it again. [snip] Thanks, Bo; the patch addresses the oops. Daniel Reported-by: Daniel J Blueman <daniel.blueman@xxxxxxxxx> Tested-by: Daniel J Blueman <daniel.blueman@xxxxxxxxx> -- Daniel J Blueman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
