From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ipmail06.adl6.internode.on.net ([150.101.137.145]:49413 "EHLO ipmail06.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbcJJMZN (ORCPT ); Mon, 10 Oct 2016 08:25:13 -0400 Date: Mon, 10 Oct 2016 23:25:08 +1100 From: Dave Chinner Subject: Re: [PATCH 7/7] xfs: clear reflink flag if setting realtime flag Message-ID: <20161010122507.GA23194@dastard> References: <147588163396.12127.8356851783027062457.stgit@birch.djwong.org> <147588168294.12127.1609759616316145097.stgit@birch.djwong.org> <20161010102418.GG18359@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161010102418.GG18359@infradead.org> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Christoph Hellwig Cc: "Darrick J. Wong" , linux-xfs@vger.kernel.org, Brian Foster On Mon, Oct 10, 2016 at 03:24:18AM -0700, Christoph Hellwig wrote: > On Fri, Oct 07, 2016 at 04:08:03PM -0700, Darrick J. Wong wrote: > > Since we can only turn on the rt flag if there are no data extents, > > we can safely turn off the reflink flag if the rt flag is being > > turned on. > > Why would the reflink flag ever be turned on if we have no data extents? After a truncate? Cheers, Dave. -- Dave Chinner david@fromorbit.com