From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr001msb.fastweb.it ([85.18.95.85]:36937 "EHLO mr001msb.fastweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbdFTSnh (ORCPT ); Tue, 20 Jun 2017 14:43:37 -0400 Subject: Re: Shutdown filesystem when a thin pool become full MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 20 Jun 2017 20:43:30 +0200 From: Gionatan Danti In-Reply-To: <20170620170208.GC3348@bfoster.bfoster> References: <24daa89a452496d2cdffa5512a64ed2e@assyoma.it> <7e8e16f1-5425-44b3-e908-c0e8a3300e3f@assyoma.it> <20170615131433.n33sqvyes4fhcbye@eorzea.usersys.redhat.com> <20170615141057.q7fpnicynucq6yk2@eorzea.usersys.redhat.com> <20170620110548.eruly7ygixydyk2o@eorzea.usersys.redhat.com> <20170620152858.GA3348@bfoster.bfoster> <20170620170208.GC3348@bfoster.bfoster> Message-ID: <18cd5d2398dd1187dd1306cdcee508b7@assyoma.it> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Brian Foster Cc: linux-xfs@vger.kernel.org, g.danti@assyoma.it Il 20-06-2017 19:02 Brian Foster ha scritto: > > ISTM you might as well write something in userspace that receives a > notification from device-mapper and shuts down or remounts the fs if > the > volume has gone inactive or hit a watermark. I don't think we'd bury > anything in XFS that cuts off and then resumes operations based on > underlying device errors like that. That sounds like a very crude > approach with a narrow use case. Absolutely, crude & ugly... > > That said, I don't think I'd be opposed to something in XFS that > (optionally) shutdown the fs in response to a similar dm notification > provided we know with certainty that the underlying device is inactive > (and that it can be accomplished relatively cleanly). > This would be a much better approach. Any chances to get it implemented? About your patches, I really like that they addresses the fallocate propagation issue. Are they a work in progress? Any chances to have them shipping in mainline kernel? Thanks. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8