Re: btrfs error: 'disk full' although 8 of 21 GB free

2010-04-07 Thread Marek Otahal
here is the output of btrfs-debug-tree /dev/mapper/homeDevice cca 115MB http://leteckaposta.cz/file/156803395.1/02a22dde7c98235100610b24f28db4b064e7be4c or http://leteckaposta.cz/156803395 Regards, Marek -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of

Re: btrfs error: 'disk full' although 8 of 21 GB free

2010-04-07 Thread Josef Bacik
On Wed, Apr 07, 2010 at 04:59:02PM +0200, Marek Otahal wrote: Hi, I'm running archlinux, kernel 2.6.33.2, btrfs-progs 0.19. I was copying a folder (cca 2GB) to a btrfs partition(8GB free) and got a 'disk full' error message. Had to kill the process and remove the files otherwise apps

Re: btrfs error: 'disk full' although 8 of 21 GB free

2010-04-07 Thread Andrew Carlson
I can tell you from experience that the later unstable git pull works much better in this regard. I have a 299GB filesystem compressed to 1.2TB full with 507M free. And it handles the ENOSPC condition like it should. On Wed, Apr 7, 2010 at 10:48 AM, Josef Bacik jo...@redhat.com wrote: On Wed,

[PATCH] Btrfs: fix lockdep warning on clone ioctl

2010-04-07 Thread Sage Weil
I'm no lockdep expert, but this appears to make the lockdep warning go away for the i_mutex locking in the clone ioctl. Signed-off-by: Sage Weil s...@newdream.net --- fs/btrfs/ioctl.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/ioctl.c

ENOTEMPTY on rm -rf for snapshot and subvolume

2010-04-07 Thread Harshavardhana
Hi Everyone, Recently i created a snapshot of an existing volume which had some amount of data. Now that after creating the snapshot i have tried deleting the same snapshot. But i am getting ENOTEMPTY for rmdir. But when i see the actual files inside are deleted not the

[PATCH] fs/btrfs: Avoid possible NULL pointer dereference for fs_devices

2010-04-07 Thread Harshavardhana
loop is never traversed for fs_devices NULL in volumes.c snip while (fs_devices) { . ... } /snip Dereferencing happens right after, in this case over NULL pointer. Signed-off-by: Harshavardhana har...@gluster.com --- fs/btrfs/volumes.c |3 ++- 1 files changed, 2