Martin Natano wrote: > It is time for the lockmgr() api to die. The api is only used by > filesystems, where it is a trivial change to use rrw locks instead. All > it needs is LK_* defines for the RW_* flags. (See the sys/lock.h hunk in > the diff below.) > > The ffs regress tests display the same number of fail/ok results before > and after applying diff below, and I have done some manual testing with > various filesystems on amd64 and macppc. > > Again, the purpose is to make filesystem code less scary and more > comprehensible.
Yes, I'm concerned this needs lots of testing, but it is the right thing to do.