From owner-cvs-src@FreeBSD.ORG Wed Mar 14 11:22:30 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D9BB16A409 for ; Wed, 14 Mar 2007 11:22:30 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 95A7413C45D for ; Wed, 14 Mar 2007 11:22:29 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so159533nfc for ; Wed, 14 Mar 2007 04:22:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sJ5CfEhPoRDk/bh847JFA7GtU919o7TuUQrXvqoEOv2oNNEb3A7WYT43617I4qmCycwYaWudDGEP5ecccx7HkMVQrZJlA072Wzpb0YQjEsWQrPPWsj3hsbTQmRSTeJuoGuB4vmv7KckX8srSNefGe25XaRh5BcgS4JxI2Z1zar4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=n8ejdoPzWJ7nIQKaNnIKYoqDRT/uSez+Pxqno7w/vIAKZClDi5URcXSd1BFm7V9nAmmrhmcT4zmHC62+8cAaUWJSiv68uFBpspHFJ9tdJEjOwqOkpRlNzmYQxMOC59pVbctI7T8/yqhFV3qCkicac388O+s/lVhxiNB1c/10oqo= Received: by 10.78.203.13 with SMTP id a13mr525007hug.1173871347893; Wed, 14 Mar 2007 04:22:27 -0700 (PDT) Received: by 10.78.202.1 with HTTP; Wed, 14 Mar 2007 04:22:27 -0700 (PDT) Message-ID: <6eb82e0703140422y6d65bf0v498127744cad363b@mail.gmail.com> Date: Wed, 14 Mar 2007 19:22:27 +0800 From: "Rong-en Fan" To: "Konstantin Belousov" In-Reply-To: <200703140854.l2E8s8n2067851@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703140854.l2E8s8n2067851@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/ufs/ufs quota.h ufs_quota.c src/sys/ufs/ffs ffs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 11:22:30 -0000 On 3/14/07, Konstantin Belousov wrote: > kib 2007-03-14 08:54:08 UTC > > FreeBSD src repository > > Modified files: > sys/ufs/ufs quota.h ufs_quota.c > sys/ufs/ffs ffs_vfsops.c > Log: > Implement fine-grained locking for UFS quotas. > Thank you! When will we see it in RELENG_6? Regards, Rong-En Fan > Each struct dquot gets dq_lock mutex to protect dq_flags and to interlock > with DQ_LOCK. qhash, dqfreelist and dq.dq_cnt are protected by global > dqhlock mutex. > > i_dquot array for inode is protected by lockmgr' vnode lock, corresponding > assert added to the dqget(). Access to struct ufsmount quota-related fields > (um_quotas and um_qflags) is protected by um_lock. > > Tested by: Peter Holm > Reviewed by: tegge > Approved by: re (kensmith) > > This work were not possible without enormous amount of help given by > Tor Egge and Peter Holm. Tor reviewed each version of patch, pointed out > numerous errors and provided invaluable suggestions. Peter did tireless > testing of the patch as it was developed. > > Revision Changes Path > 1.327 +0 -2 src/sys/ufs/ffs/ffs_vfsops.c > 1.30 +24 -4 src/sys/ufs/ufs/quota.h > 1.93 +469 -136 src/sys/ufs/ufs/ufs_quota.c > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" >