Re: [2.6.38-rc6] create->rebalance->mount crash...

2011-02-25 Thread Daniel J Blueman
On 24 February 2011 20:48, liubo 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

Re: [2.6.38-rc6] create->rebalance->mount crash...

2011-02-24 Thread Miao Xie
Hi, Chris and Liu On thu, 24 Feb 2011 09:35:32 -0500, Chris Mason wrote: [SNIP] [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,

Re: [2.6.38-rc6] create->rebalance->mount crash...

2011-02-24 Thread Chris Mason
Excerpts from liubo's message of 2011-02-24 07:48:22 -0500: > 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, > > Afte

Re: [2.6.38-rc6] create->rebalance->mount crash...

2011-02-24 Thread liubo
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

[2.6.38-rc6] create->rebalance->mount crash...

2011-02-24 Thread Daniel J Blueman
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]. Thanks, Daniel --- [1] # mkfs.btrfs /dev/sdb # mount /dev/sdb /store # btrfs filesystem balance /store # umount /store --- [2] # mount /dev/sdb /s