GNU bug report logs -
#11443
linux "cp" and ocfs2 reflink/clone/fastcopy/copy on write
Previous Next
Reported by: Kai Petzke <petzke <at> teltarif.de>
Date: Wed, 9 May 2012 16:20:02 UTC
Severity: normal
Merged with 6048
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11443 in the body.
You can then email your comments to 11443 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#11443
; Package
coreutils
.
(Wed, 09 May 2012 16:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kai Petzke <petzke <at> teltarif.de>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 09 May 2012 16:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
there has been work by others about adding support for the OCFS2 "reflink"
ioctl() call, which is similiar to the btrfs "clone" call, and creates a
copy-on-write copy of the original, thus allowing to "copy" even gigabyte
sized files within a tiny fraction of a second, and without using much
additional file system space. See:
http://lists.gnu.org/archive/html/coreutils/2011-08/msg00046.html
http://lists.gnu.org/archive/html/bug-coreutils/2010-04/msg00185.html
I have updated those patches to work against coreutils 8.16, removed those
bugs, that I spotted. In particular, if the destination file exists, the
"reflink" ist automatically tried again after removing it, and if not all
attributes are copied, it is made sure, that the following open() system
call does not truncate the just created copy.
I strongly suggest including that patch in the coreutils package, even
though the interface to use to different system calls to achieve the same
thing is awkward. But, as laid out in the comments in the source, btrfs
clone and ocfs2 reflink are semantically quite different, so that unifying
them into one on the kernel side is not likely to happen, soon, if it
happens at all. If users don't use the --reflink option of "cp", the
additional code makes no difference, so it doesn't hurt. And if users use
"--reflink" on either of the supported file systems, they get a huge
advantage out of it!
Greetings
Kai Petzke
www.teltarif.de - Kommunikation ganz einfach
--
teltarif.de Onlineverlag GmbH
Alt-Moabit 96c, 10559 Berlin
Tel: +49 (0)30 453 081-0
Fax: +49 (0)30 453 081-11
Mail: info <at> teltarif.de
WWW: www.teltarif.de
Unsere Profile im Social Web:
www.facebook.com/teltarif
www.twitter.com/teltarif
Geschäftsführer: Kai Petzke, Martin Müller
eingetragen beim Amtsgericht Berlin-Charlottenburg, HRB 70507
Umsatzsteuer-ID: DE201038407
Nachhaltiger Erfolg durch Werbung auf teltarif.de:
Inhaltliches und regionales Targeting, Frequency Capping etc., sowie
ein großes Publikum mit hoher Affinität zum E-Commerce!
weitere Informationen: http://www.teltarif.de/mediadaten
[coreutils-8.16-ocfs2-reflink.diff (text/x-patch, attachment)]
Forcibly Merged 6048 11443.
Request was from
Pádraig Brady <P <at> draigBrady.com>
to
control <at> debbugs.gnu.org
.
(Mon, 14 May 2012 11:13:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
6048 <at> debbugs.gnu.org and "jeff.liu" <jeff.liu <at> oracle.com>
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 30 Oct 2018 04:49:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 27 Nov 2018 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 203 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.