From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:52963 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752944AbcLPIVS (ORCPT ); Fri, 16 Dec 2016 03:21:18 -0500 Date: Fri, 16 Dec 2016 09:21:16 +0100 From: Christoph Hellwig Subject: Re: [PATCH 1/4] xfs: fix bogus minleft manipulations Message-ID: <20161216082116.GC32288@lst.de> References: <1481644767-9098-1-git-send-email-hch@lst.de> <1481644767-9098-2-git-send-email-hch@lst.de> <20161214173507.GA24645@bfoster.bfoster> <20161214193626.GA12106@lst.de> <20161214215133.GA26688@bfoster.bfoster> <20161215143430.GB29477@bfoster.bfoster> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161215143430.GB29477@bfoster.bfoster> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Brian Foster Cc: Christoph Hellwig , linux-xfs@vger.kernel.org, eguan@redhat.com, darrick.wong@oracle.com On Thu, Dec 15, 2016 at 09:34:33AM -0500, Brian Foster wrote: > FWIW, I was playing with this a bit more and managed to manufacture a > filesystem layout that this series doesn't handle too well. Emphasis on > "manufactured" because this might not be a likely real world scenario, > but either way the current code handles it fine. > > I've attached a metadump of the offending image. mdestore it, mount and > attempt something like 'dd if=/dev/zero of=/mnt/file' on the root. The > buffered write looks like it's in a livelock, waiting indefinitely for a > writeback cycle that will never complete... Ok, I'll give it a spin.