Date: Sat, 22 Feb 2003 01:50:45 -0500 (EST) From: Jeff Roberson <jroberson@chesapeake.net> To: arch@freebsd.org Subject: More buf cache locking. Message-ID: <20030222013233.T88110-100000@mail.chesapeake.net>
next in thread | raw e-mail | index | archive | help
I need to be able to pass the vnode interlock in as the lockmgr interlock in cases where we are pulling buffers off of dirty/clean lists. To support this BUF_LOCK* has to grow another argument. I am going to make a pass through the tree to add interlock where appropriate. Also, there is currently a lock for bufs on the wchan and prio fields. This is the buftimelock. This has to go away so that the vnode interlock can be used. To facilitate this I'm going to extend lockmgr to accept another pair of arguments that specify the wchan and prio. I intend to make a new function that has two extra arguments and then define an inline that supports the old semantics. If anyone objects, please let me know. Cheers, Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030222013233.T88110-100000>