From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [PATCH] Fix quota transaction size Date: Thu, 19 May 2005 20:19:59 -0400 Message-ID: <200505192020.00466.mason@suse.com> References: <20050519094015.GC1871@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: reiserfs-list@namesys.com, linux-fsdevel@vger.kernel.org, George Ronkin , akpm@osdl.org Return-path: Received: from cantor2.suse.de ([195.135.220.15]:31638 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S261159AbVETAUJ (ORCPT ); Thu, 19 May 2005 20:20:09 -0400 To: Jan Kara In-Reply-To: <20050519094015.GC1871@atrey.karlin.mff.cuni.cz> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thursday 19 May 2005 05:40, Jan Kara wrote: > Hello, > > attached patch improves the estimates on the number of credits needed > for a quota operation. This is needed as currently quota overflows the > maximum size of a transaction if 1KB blocksize is used. Please apply. Thanks Jan, It would make more sense to only allocate for the quota if quotas are in use. When you have 10 or more concurrent procs unlinking things, they end up waiting for each other because they are trying to reserve so many blocks in the transaction. So, a smaller reservation allows for better concurrency when quotas are off. -chris