Date: Wed, 14 Mar 2007 19:22:27 +0800 From: "Rong-en Fan" <grafan@gmail.com> To: "Konstantin Belousov" <kib@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 Message-ID: <6eb82e0703140422y6d65bf0v498127744cad363b@mail.gmail.com> In-Reply-To: <200703140854.l2E8s8n2067851@repoman.freebsd.org> References: <200703140854.l2E8s8n2067851@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/14/07, Konstantin Belousov <kib@freebsd.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0703140422y6d65bf0v498127744cad363b>