GNU bug report logs - #8001
cp (8.10) sparse handling fails on compressed btrfs (cp/fiemap-2)

Previous Next

Package: coreutils;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Tue, 8 Feb 2011 03:45:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 8001 <at> debbugs.gnu.org (full text, mbox):

From: Chris Mason <chris.mason <at> oracle.com>
To: Mike Frysinger <vapier <at> gentoo.org>
Cc: Pádraig Brady <p <at> draigbrady.com>,
	BTRFS MAILING LIST <linux-btrfs <at> vger.kernel.org>,
	8001 <8001 <at> debbugs.gnu.org>
Subject: Re: bug#8001: cp (8.10) sparse handling fails on compressed btrfs
	(cp/fiemap-2)
Date: Tue, 22 Feb 2011 22:31:19 -0500
Excerpts from Mike Frysinger's message of 2011-02-19 19:53:18 -0500:
> 2011/2/19 Pádraig Brady:
> > On 19/02/11 18:28, Mike Frysinger wrote:
> >> based on other threads (which i havent been following too closely), did we
> >> settle on this being a btrfs bug ?
> >
> > Nope, cp 8.10 is not absolved yet.
> > It may be btrfs not honoring FIEMAP_FLAG_SYNC,
> > and/or it may be cp needing to handle FIEMAP_EXTENT_ENCODED
> > specially.
> >
> > It would help if you ran `sync` before the copy,
> > to exclude that as a possible issue.
> 
> makes no difference after applying this patch:

I've got a fix for this on the btrfs side in testing.  It is definitely
a btrfs bug.

-chris




This bug report was last modified 14 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.