[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55724: cp --reflink=always failing when --reflink=auto reflinks succ

From: Rich
Subject: bug#55724: cp --reflink=always failing when --reflink=auto reflinks successfully on OpenZFS
Date: Tue, 31 May 2022 04:10:01 -0400

On Mon, May 30, 2022 at 7:31 PM Paul Eggert <eggert@cs.ucla.edu> wrote:

> On 5/30/22 08:04, Pádraig Brady wrote:
> > Really the kernel has to behave appropriately there
> > and not do the blanket assumption with EXDEV.
> I agree. VFS should be willing to try a cross-filesystem FICLONE. Not
> only does copy_file_range not guarantee cloning; it is less efficient
> even when it does clone, due to the need to find the holes in the source
> file.

I would also agree, it would be nice if those restrictions were removed.

However, it has historically been the experience of both developers and
users of OpenZFS that mentioning using it, finding bugs in other code
because of it, or wanting things for it to LKML or any adjacent mailing
list almost always results in "we don't care about out of tree, non-GPL
code, tough shit" (which is why, for example, OpenZFS now implements its
own FPU save/restore dance on x86).

So, unfortunately, I suspect this situation will continue, and we will just
document the behavior and explain that neither coreutils nor OpenZFS can do
anything about it without violating correctness other ways.

Thanks for your thoughts,
- Rich

reply via email to

[Prev in Thread] Current Thread [Next in Thread]