From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [PATCH 1/3] fs: Document the reflink(2) system call. Date: Tue, 5 May 2009 23:11:01 +0100 Message-ID: <20090505221101.GD7574@shareable.org> References: <20090505071608.GB10258@mail.oracle.com> <20090505130114.GD17486@mit.edu> <20090505131907.GF25328@shareable.org> <1241530798.7244.65.camel@think.oraclecorp.com> <20090505153629.GB31100@shareable.org> <1241538102.7244.72.camel@think.oraclecorp.com> <20090505160313.GF31100@shareable.org> <4A00A634.4020008@hp.com> <20090505215711.GA7574@shareable.org> <20090505220459.GN7835@mail.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: jim owens , Chris Mason , Theodore Tso , linux-fsdevel@vger.kernel.org, jmorris@namei.org, ocfs2-devel@oss.oracle.com, viro@zeniv Return-path: Received: from mail2.shareable.org ([80.68.89.115]:49822 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753625AbZEEWLF (ORCPT ); Tue, 5 May 2009 18:11:05 -0400 Content-Disposition: inline In-Reply-To: <20090505220459.GN7835@mail.oracle.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Joel Becker wrote: > "Shares the data extents of the source file". I should hope > that chmod doesn't require copying out all the data. Oh... I was under the impression that it would, because the man-page-of-sorts says attributes must be the same and the following question: > Jamie Lokier wrote: > > reflink() sounds useful already, but is there a compelling reason why > > both files must have the same attributes, and changing attributes will ------------------------ > > break the COW? -------------- > > Yeah, because without it you can't use it for snapshotting. ---- If that's not true, then I change my tune substantially and like reflink() semantics a lot more. :-) -- Jamie