Re: [PATCH 1/2] btrfs-progs: multidevice support for check_mounted

2009-11-23 Thread Karel Zak
On Sun, Nov 22, 2009 at 02:33:13PM +0100, Andi Drebes wrote: In the new patch below, is_pseudo_fs() is replaced by is_existing_blk_or_reg_file(). We ignore entries associated with an invalid path or paths that don't point to a regular or block file. However, if a path used in a

A file cloned with --reflink different from the original one?

2009-11-23 Thread Jian Lin
I installed BtrFS 0.19 and GNU coreutils 8.1 on my Ubuntu 9.10. I tried to clone some files with --reflink to make them copy-on-write. However, I found some of the files cloned have different MD5's to the original ones. Is BtrFS (or cp with reflink) buggy? Or it is indeed a feature that I used

Re: A file cloned with --reflink different from the original one?

2009-11-23 Thread Chris Mason
On Mon, Nov 23, 2009 at 05:26:32PM +0800, Jian Lin wrote: I installed BtrFS 0.19 and GNU coreutils 8.1 on my Ubuntu 9.10. I tried to clone some files with --reflink to make them copy-on-write. However, I found some of the files cloned have different MD5's to the original ones. Is BtrFS (or

Re: A file cloned with cp --reflink different from the original one?

2009-11-23 Thread Jian Lin
Thanks. I will try the new version soon. 2009/11/23 Pádraig Brady p...@draigbrady.com: Jian Lin wrote: 2009/11/23 Pádraig Brady p...@draigbrady.com: Jian Lin wrote: I installed BtrFS 0.19 and GNU coreutils 8.1 on my Ubuntu 9.10. I tried to clone some files with cp --reflink to make them

Re: A file cloned with cp --reflink different from the original one?

2009-11-23 Thread Pádraig Brady
Jian Lin wrote: 2009/11/23 Pádraig Brady p...@draigbrady.com: Jian Lin wrote: I installed BtrFS 0.19 and GNU coreutils 8.1 on my Ubuntu 9.10. I tried to clone some files with cp --reflink to make them copy-on-write. However, I found some of the files cloned have different MD5s to the

32-bit readdir off_t problem again

2009-11-23 Thread Jan Engelhardt
Hi, back at http://lkml.indiana.edu/hypermail/linux/kernel/0901.2/00647.html there was a readdir problem with the last entry. This issue has resurfaced in 2.6.31.6 (yeah, yeah), with only slight differences. Instead of entries being returned with key 4294967295, they are not returned at all

Re: kernel oops when trying to compile kernel on btrfs part

2009-11-23 Thread Chris Mason
On Thu, Nov 19, 2009 at 06:46:58PM +0530, pragnesh radadia wrote: I got following kernel oops when trying to compile kernel on btrfs partation on my laptop. This is probably running out of space. Could you please send along the lines around line number 735 in fs/btrfs/inode.c? -chris -- To

Re: [RFC] proposal for a btrfs filesystem layout

2009-11-23 Thread Chris Mason
On Fri, Nov 20, 2009 at 02:05:11PM -0600, David Nicol wrote: On Fri, Nov 20, 2009 at 1:50 PM, Chris Mason chris.ma...@oracle.com wrote: COW semantics require touching btree nodes all the way up to the root of the btree, but this is different from the directory.  Directories are stored in

Re: [RFC] proposal for a btrfs filesystem layout

2009-11-23 Thread Chris Mason
On Sat, Nov 21, 2009 at 12:31:06AM +0100, Goffredo Baroncelli wrote: Hi Chris, On Friday 20 November 2009, Chris Mason wrote: On Fri, Nov 20, 2009 at 07:50:06PM +0100, Goffredo Baroncelli wrote: Hi all, after the Chirs (Ball) email, I thought about a possible btrfs file-system