From: Christoph Hellwig Date: Thu, 3 Sep 2020 15:27:24 +0100 Subject: [Ocfs2-devel] Broken O_{D,}SYNC behavior with FICLONE*? In-Reply-To: <20200903035225.GJ6090@magnolia> References: <20200903035225.GJ6090@magnolia> Message-ID: <20200903142724.GA18478@infradead.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Darrick J. Wong" Cc: linux-fsdevel , xfs , linux-btrfs , linux-ext4 , ocfs2 list , Christoph Hellwig , Dave Chinner , Eric Sandeen , Theodore Ts'o On Wed, Sep 02, 2020 at 08:52:25PM -0700, Darrick J. Wong wrote: > Hi, > > I have a question for everyone-- do FICLONE and FICLONERANGE count as a > "write operation" for the purposes of reasoning about O_SYNC and > O_DSYNC? They aren't really write operations in the traditional sense as they only change metadata. Then again the metadata is all about the file content, so we'd probaby err on the safe side by including them in the write operations umbrella term.