GNU bug report logs - #5914
feature request and non-bug patches submit policy

Previous Next

Package: coreutils;

Reported by: "jeff.liu" <jeff.liu <at> oracle.com>

Date: Fri, 9 Apr 2010 12:39:02 UTC

Severity: wishlist

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joel Becker <Joel.Becker <at> oracle.com>
To: "jeff.liu" <jeff.liu <at> oracle.com>
Cc: Sunil Mushran <sunil.mushran <at> oracle.com>, 5914 <at> debbugs.gnu.org, Pádraig Brady <P <at> draigBrady.com>, Tao Ma <tao.ma <at> oracle.com>
Subject: bug#5914: feature request and non-bug patches submit policy
Date: Fri, 9 Apr 2010 12:15:29 -0700
On Sat, Apr 10, 2010 at 12:00:10AM +0800, jeff.liu wrote:
> one thing I need to point is, for OCFS2 reflink ioctl(2), it also has an
> attributes preserve option could be specified explictly.
> 
> I can implement it only when cp(1) invoked with '-p' option without conflict to current `cp`
> preserve functions, then the default attributes will be reflink to the dest file (i.e.,
> mode,ownership,timestamps).

	That's what I figured.

> currently, my idea is, when invoking cp with '--reflink=[WHEN]', it first performing btrfs clone,
> if it failed, try to do ocfs2 reflink, fall back to normal copy if both of them failed.

	A better approach would be to try the ocfs2 reflink ioctl(2),
then the btrfs one.  btrfs will support OCFS2_IOC_REFLINK eventually.

Joel

-- 

"What no boss of a programmer can ever understand is that a programmer
 is working when he's staring out of the window"
	- With apologies to Burton Rascoe

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker <at> oracle.com
Phone: (650) 506-8127




This bug report was last modified 15 years and 101 days ago.

Previous Next


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