Re: [RESEND PATCH V4 2/2] Btrfs: Add a new ioctl to change the label of a mounted filesystem

2012-12-16 Thread Jeff Liu
Sorry for my late response, I missed your feedback somehow. On 12/12/2012 12:15 PM, Miao Xie wrote: > On wed, 12 Dec 2012 11:23:00 +0800, Jeff Liu wrote: >> Add a new ioctl BTRFS_FS_SETLABEL to change the label of a mounted >> filesystem. >> >> >> Signed-off-by: Jie Liu >> Signed-off-by: Anand Ja

Re: [PATCH 5/5] Btrfs: fix remount vs autodefrag

2012-12-16 Thread Miao Xie
On fri, 14 Dec 2012 12:51:06 -0500, Josef Bacik wrote: > On Mon, Nov 26, 2012 at 02:28:13AM -0700, Miao Xie wrote: >> If we remount the fs to close the auto defragment or make the fs R/O, we >> should >> stop the auto defragment. >> >> Signed-off-by: Miao Xie > > I'm dropping this patch, it

[PATCH] Btrfs: fix memory leak in name_cache_insert()

2012-12-16 Thread Tsutomu Itoh
We should free name_cache_entry before returning from the error handling code. Signed-off-by: Tsutomu Itoh --- fs/btrfs/send.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 5445454..321b7fb 100644 --- a/fs/btrfs/send.c +++ b/fs/btr

Re: btrfs subvolume snapshot performance problem

2012-12-16 Thread Liu Bo
On Sun, Dec 16, 2012 at 06:28:01PM -0500, Sylvain Alain wrote: > Hi everyone, I'm still have the problem with the snapshot command. > > Here what I tested today : > > read writ|files inodes >0 408k| 2784 7264 >0 460k| 2784 7264 >0 496k| 2784 7264 >0 424k| 2784 72

Re: unmountable partition and live distro (no space left)

2012-12-16 Thread Claudio Carbone
On 17/12/12 00:21, Claudio Carbone wrote: Here is the btrfsck log https://www.dropbox.com/s/pwmj2t9kvy6sqpc/btrfs_log.txt And here is the mount error dmesg tail https://www.dropbox.com/s/x7w552g6vkalrn7/btrfs_mount_log.txt Claudio -- To unsubscribe from this list: send the line "unsubscribe l

Re: unmountable partition and live distro (no space left)

2012-12-16 Thread Claudio Carbone
On 16/12/12 21:40, cwillu wrote: Try booting with bootflags=ro,recovery in grub (with the latest possible kernel), or mounting with -o recovery from the livecd (likewise). If it works, then you're done, you should be able to boot normally after a clean umount and shutdown. If it doesn't, post d

btrfs problem

2012-12-16 Thread Tóth Csaba
Dear Community, i have a linux server with a btrfs root filesystem. After some time, or a specific action (i don't know what exactly) it crashes. Sometimes it needs some day, sometimes when i make a concrete action, like subvolume delete, or make a new directory, etc. this is what i see from the

Re: unmountable partition and live distro (no space left)

2012-12-16 Thread cwillu
Try booting with bootflags=ro,recovery in grub (with the latest possible kernel), or mounting with -o recovery from the livecd (likewise). If it works, then you're done, you should be able to boot normally after a clean umount and shutdown. If it doesn't, post dmesg from the attempt. > I'v been

Re: unmountable partition and live distro (no space left)

2012-12-16 Thread Claudio Carbone
I'v been told this is missing relevant details. The original kernel version was 3.2.0-something (standard Ubuntu 12.04 LTS). I've since upgraded to 3.7 but this has made no difference. Right now I don't have the dmesg, I'll post it later. Currently I've been able to mount the partition with btrfs

unmountable partition and live distro (no space left)

2012-12-16 Thread Claudio Carbone
Hello all. My system failed and I thought of trying btrfs. After repartitioning and installing, nothing booted and my (btrfs formatted) home partition is unmountable (parent transid). I discovered I can mount the partition with btrfs-restore but, since I'm running off of a live usb Ubuntu, moun

Re: Intel 120G SSD write performance with 3.2.0-4-amd64

2012-12-16 Thread Russell Coker
On Sun, 16 Dec 2012, cwillu wrote: > 3.2 is massively old in btrfs terms, with lots of fun little stability > and performance bugs. > > > Here is the /proc/mounts entry which shows that ssd and discard options > > are enabled. > > > > /dev/disk/by-uuid/7939c405-c656-4e85-a6a0-29f17be09585 / btrf