From: Jan Kara Subject: Re: [PATCH 2/7] fsfreeze: emergency thaw will deadlock on s_umount Date: Tue, 10 Jul 2012 11:13:52 +0200 Message-ID: <20120710091352.GB13539@quack.suse.cz> References: <1341908216.11559.6.camel@nexus.lab.ntt.co.jp> <1341908615.11559.13.camel@nexus.lab.ntt.co.jp> <20120710090918.GA13539@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , Dave Chinner , Christoph Hellwig , linux-fsdevel@vger.kernel.org To: Fernando Luis =?iso-8859-1?Q?V=E1zquez?= Cao Return-path: Received: from cantor2.suse.de ([195.135.220.15]:54891 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754684Ab2GJJNz (ORCPT ); Tue, 10 Jul 2012 05:13:55 -0400 Content-Disposition: inline In-Reply-To: <20120710090918.GA13539@quack.suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue 10-07-12 11:09:18, Jan Kara wrote: ... > Also looking into the code, it seems emergency thaw won't be able to thaw > filesystems frozen with FIFREEZE ioctl (bd_fsfreeze_count will be zero)? > Calling thaw_super() directly would solve this but then we'd leave > bd_fzfreeze_count inconsistent... It's a mess with these two types of > freezing. Ah, I see you try to address this in the next patch. So scratch this comment. Honza -- Jan Kara SUSE Labs, CR