Date: Wed, 9 Jan 2008 21:34:33 +0100 From: Peter Holm <peter@holm.cc> To: Attilio Rao <attilio@freebsd.org> Cc: arch@freebsd.org, current@freebsd.org, fs@freebsd.org Subject: Re: [PATCH] lockmgr and VFS plans Message-ID: <20080109203433.GA13933@peter.osted.lan> In-Reply-To: <3bbf2fe10801090619x1ce5a178x1731db272c8d20fd@mail.gmail.com> References: <3bbf2fe10801090619x1ce5a178x1731db272c8d20fd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 09, 2008 at 03:19:35PM +0100, Attilio Rao wrote: > Hi, > as previously explained in past e-mails, lockmgr() is going to face a > massive restructuration. > The work is progressing on two different rails: the former involves > fixing consumers code in order to make it completely implementative > details agnostic, in order to make it cleaner and more robust. The > latter involves giving a good replacement for current functions and a > faster implementation. > lockmgr() is an old primitive widely used in our VFS subsystem, so > this overhaul would involve someway VFS subsystem necessarilly, in > particular about the former line of development. > > Part of this overhaul (for this preliminary stages) consists in > removing the 'thread' argument from the lockmgr() interface which also > means making useless the same argument about VFS functions (vn_lock, > VOP_LOCK() and VOP_UNLOCK()). This removal can be done in a 'stacked' > way and can be splitted in 2 different stages: the former will clean > up only vn_lock() while the latter will be more aggressive and it will > involve hardly VFS, fixing VOP_LOCK1() and VOP_UNLOCK(). This patch > removes the 'thread' argument from vn_lock(): > http://people.freebsd.org/~attilio/vn_lock.diff > I'll try and test it this wekend. > What I'm looking for is: > - objections to this > - testers (even if a small crowd alredy offered to test this patch) > > I test-compiled and runned LINT with this patch and it works > perfectly, but a wider audience would be better. > > I also would appreciate a lot if people planning to do changes to > lockmgr or VFS would coordinate their efforts with me, even on small > changes. > > Thanks, > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" -- Peter Holm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080109203433.GA13933>