On 27/09/2024 18:18, Matthew Wilcox wrote:
Package: coreutils
Version: 9.4-3.1
strace cp --sparse=always dd dd-sparse
[extraneous stuff skipped]
openat(AT_FDCWD, "dd", O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0755, st_size=134248, ...}) = 0
openat(AT_FDCWD, "dd-sparse", O_WRONLY|O_CREAT|O_
On Fri, Sep 27, 2024 at 09:25:11PM -0400, Michael Stone wrote:
> On Sat, Sep 28, 2024 at 01:20:17AM +0100, Matthew Wilcox wrote:
> > On Fri, Sep 27, 2024 at 06:23:05PM -0400, Michael Stone wrote:
> > > It would be just as confusing for cp to ignore reflink, right?
> >
> > I didn't ask cp to use re
On Sat, Sep 28, 2024 at 01:20:17AM +0100, Matthew Wilcox wrote:
On Fri, Sep 27, 2024 at 06:23:05PM -0400, Michael Stone wrote:
On Fri, Sep 27, 2024 at 09:31:37PM +0100, Matthew Wilcox wrote:
> On Fri, Sep 27, 2024 at 02:41:39PM -0400, Michael Stone wrote:
> > On Fri, Sep 27, 2024 at 06:18:20PM +
On Fri, Sep 27, 2024 at 06:23:05PM -0400, Michael Stone wrote:
> On Fri, Sep 27, 2024 at 09:31:37PM +0100, Matthew Wilcox wrote:
> > On Fri, Sep 27, 2024 at 02:41:39PM -0400, Michael Stone wrote:
> > > On Fri, Sep 27, 2024 at 06:18:20PM +0100, Matthew Wilcox wrote:
> > > > Without looking at the so
On Fri, Sep 27, 2024 at 09:31:37PM +0100, Matthew Wilcox wrote:
On Fri, Sep 27, 2024 at 02:41:39PM -0400, Michael Stone wrote:
On Fri, Sep 27, 2024 at 06:18:20PM +0100, Matthew Wilcox wrote:
> Without looking at the source code, it seems likely that cp blindly
> tries FICLONE without checking to
On Fri, Sep 27, 2024 at 02:41:39PM -0400, Michael Stone wrote:
> On Fri, Sep 27, 2024 at 06:18:20PM +0100, Matthew Wilcox wrote:
> > Without looking at the source code, it seems likely that cp blindly
> > tries FICLONE without checking to see whether the sparse flag is set.
> > I suggest that setti
Package: coreutils
Version: 9.4-3.1
strace cp --sparse=always dd dd-sparse
[extraneous stuff skipped]
openat(AT_FDCWD, "dd", O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0755, st_size=134248, ...}) = 0
openat(AT_FDCWD, "dd-sparse", O_WRONLY|O_CREAT|O_EXCL, 0755) = 4
ioctl(4, BTRFS_IOC_CLONE or F
On Fri, Sep 27, 2024 at 06:18:20PM +0100, Matthew Wilcox wrote:
Without looking at the source code, it seems likely that cp blindly
tries FICLONE without checking to see whether the sparse flag is set.
I suggest that setting --sparse=always should disable the FICLONE
optimisation.
I tend to dis
8 matches
Mail list logo