Copied Files from Btrfs partition larger than original

2011-02-14 Thread MOB
So as I'm doing some maintenance on my personal video server, I'm noticing that when I'm copying files off of my btrfs partitions, they are getting larger... First partition is the original: http://pastebin.com/GM5xWetR I have 3 affected partitions, This appears to have started with 2.6.37 but

Re: Copied Files from Btrfs partition larger than original

2011-02-14 Thread Hugo Mills
On Mon, Feb 14, 2011 at 12:41:46AM -0800, MOB wrote: So as I'm doing some maintenance on my personal video server, I'm noticing that when I'm copying files off of my btrfs partitions, they are getting larger... First partition is the original: http://pastebin.com/GM5xWetR I have 3

2.6.37 kernel BUG at fs/btrfs/inode.c:6752!

2011-02-14 Thread Zhong, Xin
We build packages in a kvm-qemu chroot environment. And the root fs is btrfs. It hang during installing packages. And we found error message in dmesg: [ 84.320466] btrfs: use compression [ 288.711396] [ cut here ] [ 288.711569] kernel BUG at fs/btrfs/inode.c:6752! [

Re: 2.6.37 kernel BUG at fs/btrfs/inode.c:6752!

2011-02-14 Thread cwillu
On Mon, Feb 14, 2011 at 3:59 AM, Zhong, Xin xin.zh...@intel.com wrote: We build packages in a kvm-qemu chroot environment. And the root fs is btrfs. It hang during installing packages. And we found error message in dmesg: [   84.320466] btrfs: use compression [  288.711396] [ cut

Re: Question on subvolumes and mount options

2011-02-14 Thread Yuri D'Elia
On Sun, 13 Feb 2011 19:18:20 + Hugo Mills hugo-l...@carfax.org.uk wrote: Yes, it's the same piece of storage, just appearing at more than one point in your overall filesystem. Similar to the way that bind mounts work. I've noticed that I can also rename subvolumes as well using mv(1).

Re: btrfs: compression breaks cp and cross-FS mv, FS_IOC_FIEMAP bug?

2011-02-14 Thread Chris Mason
Excerpts from Josef Bacik's message of 2011-02-13 11:13:30 -0500: On Sun, Feb 13, 2011 at 06:07:36PM +0200, Marti Raudsepp wrote: On Sun, Feb 13, 2011 at 17:57, Josef Bacik jo...@redhat.com wrote: Does the same problem happen when you use cp --sparse=never? You are right. cp

Re: 2.6.37: Multi-second I/O latency while untarring

2011-02-14 Thread Chris Mason
Excerpts from Andrew Lutomirski's message of 2011-02-11 19:35:02 -0500: On Fri, Feb 11, 2011 at 10:44 AM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Andrew Lutomirski's message of 2011-02-11 10:08:52 -0500: As I type this, I have an ssh process running that's dumping data into

Re: btrfs: compression breaks cp and cross-FS mv, FS_IOC_FIEMAP bug?

2011-02-14 Thread Marti Raudsepp
On Mon, Feb 14, 2011 at 17:01, Chris Mason chris.ma...@oracle.com wrote: Or, it could just be delalloc ;) I suspect delalloc. After creating the file, filefrag reports 1 extent found, but for some reason it doesn't actually print out details of the extent. After a sync call, the extent appears

Re: btrfs: compression breaks cp and cross-FS mv, FS_IOC_FIEMAP bug?

2011-02-14 Thread Chris Mason
Excerpts from Marti Raudsepp's message of 2011-02-14 12:58:17 -0500: On Mon, Feb 14, 2011 at 17:01, Chris Mason chris.ma...@oracle.com wrote: Or, it could just be delalloc ;) I suspect delalloc. After creating the file, filefrag reports 1 extent found, but for some reason it doesn't

Re: [PATCH] fix uncheck memory allocations

2011-02-14 Thread Tsutomu Itoh
Sano-san, (2011/02/14 22:57), Yoshinori Sano wrote: 2011年2月14日8:57 Tsutomu Itoh t-i...@jp.fujitsu.com: (2011/02/12 20:17), Yoshinori Sano wrote: To make Btrfs code more robust, several return value checks where memory allocation can fail are introduced. I use BUG_ON where I don't know how

Re: [PATCH] fix uncheck memory allocations

2011-02-14 Thread Yoshinori Sano
2011年2月15日9:14 Tsutomu Itoh t-i...@jp.fujitsu.com: Sano-san, (2011/02/14 22:57), Yoshinori Sano wrote: 2011年2月14日8:57 Tsutomu Itoh t-i...@jp.fujitsu.com: (2011/02/12 20:17), Yoshinori Sano wrote: To make Btrfs code more robust, several return value checks where memory allocation can fail

[GIT PULL] Btrfs updates

2011-02-14 Thread Chris Mason
Hi everyone, The master branch of the btrfs unstable tree has some important btrfs fixes: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git master I was seeing very rare metadata corruptions during long stress runs, and eventually tracked it down to two different races in