Poor performance with qemu

2010-03-28 Thread Diego Calleja
Hi, I'm using KVM, and the virtual disk (a 20 GB file using the raw qemu format according to virt-manager and, of course, placed on a btrfs filesystem, running the latest mainline git) is awfully slow, no matter what OS is running inside the VM. The PCBSD installer says it's copying data at a

[PATCH] fs/btrfs: Correct use after free

2010-03-28 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk If the kfree is executed, the dereference of range afterwards will represent a use after free. Added goto out, as done in the other nearby error handling code. A simplified version of the semantic match that finds this problem is as follows: