Re: kernel BUG

2010-12-25 Thread Michael Niederle
Hi! It seems that in my case the bug (fs/btrfs/disk-io.c:2311) was caused by a hardware problem. I plugged by accident an usb-3.0-drive (that worked quite well for several weeks) into an usb-2.0-port (which worked quite well for several years). It seems that the two didn't like each other and

Re: kernel BUG

2010-12-25 Thread Christian Thaeter
Am Sat, 25 Dec 2010 10:50:28 +0100 schrieb Michael Niederle mniede...@gmx.at: Hi! It seems that in my case the bug (fs/btrfs/disk-io.c:2311) was caused by a hardware problem. I plugged by accident an usb-3.0-drive (that worked quite well for several weeks) into an usb-2.0-port (which

Re: [PATCH] BTRFS: Don't leak memory in btrfs_get_acl()

2010-12-25 Thread Mariusz Kozlowski
On Fri, Dec 24, 2010 at 11:45:21PM +0100, Jesper Juhl wrote: Hi, Currrently we leak memory in btrfs_get_acl::btrfs_get_acl() if posix_acl_from_xattr() fails. With this patch we do not. I sent similar patch some time ago but no reply from Chris so far.

btrfs allocation failed while running qemu image

2010-12-25 Thread Markus Trippelsdorf
Just got these errors on a btrfs test partion, when I started qemu with a qcow2 image file (freshly copied from a ext4 partition shortly before): % qemu-kvm -net nic,vlan=0,model=virtio -net user -drive file=ubuntu,if=virtio,boot=on -smp 2 -m 512 Dec 25 17:58:41 [kernel] btrfs allocation

Re: [PATCH] BTRFS: Don't leak memory in btrfs_get_acl()

2010-12-25 Thread Jesper Juhl
On Sat, 25 Dec 2010, Mariusz Kozlowski wrote: On Fri, Dec 24, 2010 at 11:45:21PM +0100, Jesper Juhl wrote: Hi, Currrently we leak memory in btrfs_get_acl::btrfs_get_acl() if posix_acl_from_xattr() fails. With this patch we do not. I sent similar patch some time ago but no reply from

[PATCH] btrfs: Don't pass NULL ptr to func that may deref it.

2010-12-25 Thread Jesper Juhl
Hi, In fs/btrfs/inode.c::fixup_tree_root_location() we have this code: ... if (!path) { err = -ENOMEM; goto out; } ... out: btrfs_free_path(path); return err;

Re: [GIT PULL][PATCH v2 0/6] btrfs: Add lzo compression support

2010-12-25 Thread C Anthony Risinger
On Dec 24, 2010, at 2:46 PM, Chris Mason chris.ma...@oracle.com wrote: This is going to be the building block for our 2.6.38 pull request to Linus. hooray christmas came early this year! what a nice gift, thanks! heh, thanks for all the great work guys. I'm doing my best to spread the good