Return-Path: Date: Wed, 30 Aug 2017 15:46:29 +0200 From: Christoph Hellwig To: Amir Goldstein Cc: "Darrick J . Wong" , Christoph Hellwig , Dave Chinner , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Josef Bacik , stable@vger.kernel.org Subject: Re: [PATCH] xfs: fix incorrect log_flushed on fsync Message-ID: <20170830134629.GA32355@lst.de> References: <1504100302-3297-1-git-send-email-amir73il@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1504100302-3297-1-git-send-email-amir73il@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: Oops. Yes, except for the case of calling xlog_state_release_iclog ourselves we can't claim that the cache has been flushed. In fact I'm not even sure that is save, if ic_refcnt makes xlog_state_release_iclog exit early, so we might have to pass additional information around there.