On Wed, Jan 27, 2010 at 11:53:22AM +0100, Andreas Barth wrote:
* Sage Weil (s...@newdream.net) [091216 17:55]:
On Wed, 16 Dec 2009, Li Dongyang wrote:
Have a look at line 998, ioctl.c, inside btrfs_ioctl_clone(),
the src-i_size(the size of the testfile created by touch) is just 0, and
* Sage Weil (s...@newdream.net) [091216 17:55]:
On Wed, 16 Dec 2009, Li Dongyang wrote:
Have a look at line 998, ioctl.c, inside btrfs_ioctl_clone(),
the src-i_size(the size of the testfile created by touch) is just 0, and
this
will cause btrfs_ioctl_clone just return -EINVAL.
I'm
On Wed, 16 Dec 2009, Li Dongyang wrote:
Have a look at line 998, ioctl.c, inside btrfs_ioctl_clone(),
the src-i_size(the size of the testfile created by touch) is just 0, and
this
will cause btrfs_ioctl_clone just return -EINVAL.
I'm not sure if it makes sense to clone a file which
Josef Bacik jo...@redhat.com wrote:
On Sun, Dec 13, 2009 at 12:29:03AM +, Jason White wrote:
I am testing a Btrfs root file system with Debian (kernel 2.6.32) under KVM.
ja...@vrtl:~$ touch testfile
ja...@vrtl:~$ cp --reflink testfile /tmp
cp: failed to clone `/tmp/testfile': Invalid
Have a look at line 998, ioctl.c, inside btrfs_ioctl_clone(),
the src-i_size(the size of the testfile created by touch) is just 0, and this
will cause btrfs_ioctl_clone just return -EINVAL.
I'm not sure if it makes sense to clone a file which actually doesn't have any
data extents.
On Wednesday
On Sun, Dec 13, 2009 at 12:29:03AM +, Jason White wrote:
I am testing a Btrfs root file system with Debian (kernel 2.6.32) under KVM.
ja...@vrtl:~$ touch testfile
ja...@vrtl:~$ cp --reflink testfile /tmp
cp: failed to clone `/tmp/testfile': Invalid argument
This is with GNU Coreutils