Re: subvolid=0, ls hangs.
From: Josef Bacik <hidden>
Date: 2011-02-24 14:07:41
On Thu, Feb 24, 2011 at 10:20:28AM +0000, A. James Lewis wrote:
I've been running BTRFS for a while testing out various stuff, and I've found it to be quite stable (although reading this list makes me realize how much activity there really is).. I just hit my first bump in the road, and I wondered if someone could give me a hint how I can gather enough information to be useful here. Basically, the filesystem I'm running is a 2 disk stripe, with mirrored metadata.. I have default subvolume set, and I'm using 2 subvolumes. I have created a few snapshots of those subvolumes by mounting with -o subvolid=0 and creating snapshots of the mounted subvolumes. Recently (I think it started when I updated from .38rc1 to .38rc5 but that could be coincidental)... when I mount subvolid=0, if I do a 'ls' of that mount point, the filesystem hangs, and the system becomes unusable. Otherwise mounting and using the subvolumes is not affected. At one point I got a Segfault from ls, but I've not been able to repeat that. Any suggestions would be interesting... I tried updating to rc6, but as expected, (since there didn't seem to be much in the way of BTRFS changes in that release) not much difference.
Do a sysrq+w when it hangs, that will tell us what the box is doing. Thanks, Josef