Re: btrfs hang on brd

2011-06-06 Thread Adrian Hunter
On 03/06/11 12:41, Adrian Hunter wrote: No improvement on 3.0-rc1+ (commit 5c6cce92bc8aee751aafe82c5d9caf7553226a3d). And on 59c5f46fbe01a00eedf54a23789634438bb80603 Linux 3.0-rc2 btrfs quickly fails to mount due to no space e.g. Script -- #!/bin/sh sudo modprobe brd rd_size=262144

Re: btrfs hang on brd

2011-06-03 Thread Adrian Hunter
On 01/06/11 13:07, Adrian Hunter wrote: On 01/06/11 11:54, David Sterba wrote: On Tue, May 31, 2011 at 10:03:12AM +0300, Adrian Hunter wrote: Hi I seem to be able to get btrfs reproducibly to produce warnings and finally hang when running a stress test on a ramdisk. Testing was done using

Re: btrfs hang on brd

2011-06-01 Thread Adrian Hunter
On 01/06/11 11:54, David Sterba wrote: On Tue, May 31, 2011 at 10:03:12AM +0300, Adrian Hunter wrote: Hi I seem to be able to get btrfs reproducibly to produce warnings and finally hang when running a stress test on a ramdisk. Testing was done using the integration-test branch of btrfs

btrfs hang on brd

2011-05-31 Thread Adrian Hunter
Hi I seem to be able to get btrfs reproducibly to produce warnings and finally hang when running a stress test on a ramdisk. Testing was done using the integration-test branch of btrfs-unstable. Note that I also tested v2.6.39 and integration-test took much longer to hang i.e. it is an

Re: [PATCH] Btrfs: don't commit the transaction if we dont have enough pinned bytes V2

2011-05-26 Thread Adrian Hunter
On 25/05/11 22:30, Josef Bacik wrote: I noticed when running an enospc test that we would get stuck committing the transaction in check_data_space even though we truly didn't have enough space. So check to see if bytes_pinned is bigger than num_bytes, if it's not don't commit the transaction.