Re: Should cp default to reflink?

2017-11-07 Thread Dmitrii Tcvetkov
On Mon, 6 Nov 2017 15:37:21 -0700 Chris Murphy wrote: > Seems to me any request to duplicate should be optimized by default > with an auto reflink when possible, and require an explicit option to > inhibit. "cp --reflink=auto" by default might create unexpected behaviour of slower balance on a

Re: Should cp default to reflink?

2017-11-07 Thread Austin S. Hemmelgarn
On 2017-11-06 17:37, Chris Murphy wrote: I'm doing copies from one subvolume to another, through a mounted top level (id5) at /mnt/int. This copies the whole file conventionally (no shared extents) $ sudo cp /mnt/int/home/chris/Downloads/Fedora-Server-dvd-x86_64-27-1.6.iso

Re: Should cp default to reflink?

2017-11-06 Thread Marat Khalili
Obviously (for me) yes, but who will decide? There should be --no-reflink for people trying to defragment something. >Seems to me any request to duplicate should be optimized by default >with an auto reflink when possible, and require an explicit option to >inhibit. Key word is "any". I much

Should cp default to reflink?

2017-11-06 Thread Chris Murphy
I'm doing copies from one subvolume to another, through a mounted top level (id5) at /mnt/int. This copies the whole file conventionally (no shared extents) $ sudo cp /mnt/int/home/chris/Downloads/Fedora-Server-dvd-x86_64-27-1.6.iso /mnt/int/root00/var/lib/libvirt/images/ This is a reflink copy