tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Diagnostic verification of vnode VOCALLs



On Tue, Apr 07, 2015 at 01:39:29PM +0000, Eric Haszlakiewicz wrote:
 > On April 7, 2015 4:52:30 AM EDT, Martin Husemann <martin%duskware.de@localhost> wrote:
 > >Additionally (and maybe the easiest start) we could add some magic
 > >pointer
 > >value to the start (and end?) of the ops vector and have VOCALL verify
 > >that
 > >magic value.
 > >
 > >Is that a sane idea?
 > >Could we easily identify all ops vectors?
 > 
 > The ops vectors correspond to the known filesystems, no?  Perhaps
 > you could simply iterate over those, or even just the mounted ones,
 > and check whether it matches one.

There's three per fs, so it's a bit of a nuisance, but it could be
done, yes.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index