[Ocfs2-devel] [RFC] The reflink(2) system call v4.
Joel Becker
Joel.Becker at oracle.com
Mon May 18 11:26:56 PDT 2009
On Mon, May 18, 2009 at 09:02:39AM -0400, Stephen Smalley wrote:
> For simplicity and robustness, I would only support the none or all
> flags, i.e. preserve can be a simple bool. I don't think you really
> want to deal with the individual flags, and I don't see a use case for
> them.
The simple use case I can think of is "I want a snapshot, but I
don't have rights to copy the MAC context". Or "I want to own it, but I
want to keep all the ACLs for other users".
Basically, if I'm adding another int argument to reflinkat(2), I
wanted to consider the future. Maybe define it as 1 or 0, and leave the
use of the other bits for future possibilities? If we're lucky, of
course, we never need future changes.
Joel
--
"There is a country in Europe where multiple-choice tests are
illegal."
- Sigfried Hulzer
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list