compressed btrfs No space left on device

2011-11-14 Thread Arnd Hannemann
Hi, I'm using btrfs for my /usr/share/ partition and keep getting the following error while installing a debian package which should take no more than 228 MB: Unpacking texlive-fonts-extra (from .../texlive-fonts-extra_2009-10ubuntu1_all.deb) ... dpkg: error processing

[PATCH] Btrfs-progs: satisfy compiler and change printf modifier

2011-11-14 Thread Arnd Hannemann
One-liner which fixes the gcc warning: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat] Signed-off-by: Arnd Hannemann a...@arndnet.de --- extent-tree.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH] Btrfs-progs: Relocate -lpthread in makefile

2011-11-14 Thread Arnd Hannemann
This patch fixes the following compile error when compiled with gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3): gcc -lpthread -g -O0 -o btrfs btrfs.o btrfs_cmds.o scrub.o \ ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o

Re: [PATCH] Btrfs-progs: satisfy compiler and change printf modifier

2011-11-14 Thread Arnd Hannemann
Am 14.11.2011 16:30, schrieb Christian Parpart: On Mon, Nov 14, 2011 at 4:24 PM, Arnd Hannemann a...@arndnet.de mailto:a...@arndnet.de wrote: One-liner which fixes the gcc warning: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long

Re: [PATCH] Btrfs-progs: Relocate -lpthread in makefile

2011-11-14 Thread Jan Schmidt
On 14.11.2011 16:47, Arnd Hannemann wrote: This patch fixes the following compile error when compiled with gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3): gcc -lpthread -g -O0 -o btrfs btrfs.o btrfs_cmds.o scrub.o \ ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o

Re: WARNING: at fs/btrfs/inode.c:2198 btrfs_orphan_commit_root+0xa8/0xc0

2011-11-14 Thread Josef Bacik
On Thu, Nov 10, 2011 at 01:13:46PM +0100, Stefan Kleijkers wrote: Hello Josef, I have a workload running at the moment and I'm seeing a lot of these (paste 1) messages in dmesg, this is the 3.1 kernel with your patch applied. At the end I see a couple of the old warnings (paste 2).

kernel BUG at fs/btrfs/inode.c:3037

2011-11-14 Thread Roman Kapusta
Hello, I'm hitting following kernel bug when trying to rmdir empty directory from btrfs filesystem. I'm on Linux 3.1.1-1.fc16.i686.PAE. rmdir ends with segfault. I have found similar problem in this mailing list but not the same one so I'm reporting it. [ 281.284923] btrfs: could not do orphan

Re: compressed btrfs No space left on device

2011-11-14 Thread Arnd Hannemann
Am 14.11.2011 15:57, schrieb Arnd Hannemann: I'm using btrfs for my /usr/share/ partition and keep getting the following error while installing a debian package which should take no more than 228 MB: Unpacking texlive-fonts-extra (from .../texlive-fonts-extra_2009-10ubuntu1_all.deb) ...

Bird's eye view of relocation trees

2011-11-14 Thread Phillip Susi
Can someone give a bird's eye view of what relocation trees are and how they are used? I've been looking over the code all morning and can only see that it appears to be a normal root tree, but with a different objectid for some reason. -- To unsubscribe from this list: send the line

Reliability questions / me too for bugs

2011-11-14 Thread Jérôme Carretero
I have a couple of questions concerning btrfs reliability. I'm currently using btrfs in my internal drives (strong advantages) and have used it on external drives, but I've recently migrated the external ones to ext4, for reliability reasons. The kernel seems to be able to handle ext4 partition

Re: [PATCH 00/21] [RFC] Btrfs: restriper

2011-11-14 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a fs that started with the default policy of metadata=dup. I added a second device and rebalanced, and so the metadata chunks were converted to raid1. Now I can not remove the second device because raid1 requires at least two devices. If I

[PATCH] btrfs: Fix up 32/64-bit compatibility for new ioctls

2011-11-14 Thread Jeff Mahoney
Commit 740c3d22 (Btrfs: fix the new inspection ioctls for 32 bit compat) uses 64-bit values instead of pointers but the casting throws cast to integer of different size warnings when built on 32-bit machines. This patch casts to unsigned long before casting to a pointer and fixes the

Reliability questions / me too for bugs

2011-11-14 Thread Jérôme Carretero
I have a couple of questions concerning btrfs reliability. I'm currently using btrfs in my internal drives (strong advantages) and have used it on external drives, but I've recently migrated the external ones to ext4, for reliability reasons. The kernel seems to be able to handle ext4 partition