Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755608AbZIJMk7 (ORCPT ); Thu, 10 Sep 2009 08:40:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755238AbZIJMk6 (ORCPT ); Thu, 10 Sep 2009 08:40:58 -0400 Received: from cantor.suse.de ([195.135.220.2]:39466 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752797AbZIJMk6 (ORCPT ); Thu, 10 Sep 2009 08:40:58 -0400 Date: Thu, 10 Sep 2009 14:40:56 +0200 From: Jan Kara To: Mingming Cc: Eric Sandeen , Jiri Kosina , Pavol Cvengros , linux-kernel@vger.kernel.org, Jan Kara , linux-ext4@vger.kernel.org Subject: Re: ext4+quota+nfs issue Message-ID: <20090910124056.GI607@duck.suse.cz> References: <4AA5E5F3.30309@primeinteractive.net> <4AA72C14.1020005@primeinteractive.net> <4AA7C38E.8020306@redhat.com> <1252531929.19097.174.camel@mingming-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1252531929.19097.174.camel@mingming-laptop> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1315 Lines: 37 On Wed 09-09-09 14:32:09, Mingming wrote: > On Wed, 2009-09-09 at 10:02 -0500, Eric Sandeen wrote: > > Jiri Kosina wrote: > > > [ adding relevant CCs ] > > > > > > On Wed, 9 Sep 2009, Pavol Cvengros wrote: > > > > > >> Hi, > > >> > > >> can somebody who is aware of ext4 and quota have a look on this one? > > >> > > > > This was also just reported at: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=521914 > > > > Checked the bugzilla, it seems the fs enabled quota, but no user quota > limit is specified. Is this the case with the ext4 quota+ nfs issue too? > > If no user quota is specified, then IS_NOQUOTA() should avoid doing > quota reservation/claim at all. Not sure what is missing... I will check > if I could reproduce this on local filesystem... Mingming, IS_NOQUOTA() check is true only for quota-files. For all other files it is false since we have to know how much space each user uses even if it does not have a quota limit set (for the case that someone sets the limit in future). Honza -- Jan Kara SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/