linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jérôme Poulin" <jeromepoulin@gmail.com>
To: "Chris Mason" <chris.mason@oracle.com>,
	"Jérôme Poulin" <jeromepoulin@gmail.com>, redneb <redneb@gmx.com>,
	linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: File cloning across subvolumes with BTRFS_IOC_CLONE ioctl
Date: Mon, 26 Jul 2010 08:55:09 -0400	[thread overview]
Message-ID: <AANLkTi=jfxhiX71Hbug2REhRRXyJ8MDSxo=4LuFmtaOD@mail.gmail.com> (raw)
In-Reply-To: <20100721153224.GY3133@think>

After pulling the new changes, I tried to do the cp --reflink=3Dalways
and still get files with no data in it.
cp --reflink=3Dalways on different subvolume: http://pastebin.com/zutMP=
e1h
ls -lisa on source: http://pastebin.com/8BU2Xyr5
ls -lisa on destination after trying to copy: http://pastebin.com/EPV70=
cD3

However, copying on the same subvolume now works perfectly, so I guess
this is fixed.

On Wed, Jul 21, 2010 at 11:32 AM, Chris Mason <chris.mason@oracle.com> =
wrote:
> On Wed, Jul 21, 2010 at 11:11:13AM -0400, J=E9r=F4me Poulin wrote:
>> I've got the same problem, and that post clearly seems to say it is =
possible.
>> cp --reflink=3Dalways source subvolume1/ =A0 gives me:
>> cp: failed to clone `xxxx': Invalid cross-device link
>>
>> Even on the same subvolume I get 10% of the files telling me the sam=
e.
>>
>> btrfs-bcp copy the files in its integrity.
>
> Ok, this is a bug in the ioctl. =A0I'll fix it up.
>
> -chris
>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-07-26 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20  5:39 File cloning across subvolumes with BTRFS_IOC_CLONE ioctl redneb
2010-07-21 15:11 ` Jérôme Poulin
2010-07-21 15:32   ` Chris Mason
2010-07-26 12:55     ` Jérôme Poulin [this message]
2010-07-26 13:00       ` Jérôme Poulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=jfxhiX71Hbug2REhRRXyJ8MDSxo=4LuFmtaOD@mail.gmail.com' \
    --to=jeromepoulin@gmail.com \
    --cc=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=redneb@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).