DragonFly bugs List (threaded) for 2005-06
Re: Rumko's SMB panic
Joerg Sonnenberger wrote:
On Sat, Jun 04, 2005 at 04:49:08PM +0100, Hiten Pandya wrote:
The vnlru kernel daemon used to be a process before and now it is a
pure thread. Not many (only two) file systems require cred info in
the VOP_INACTIVE path; smbfs (CIFS) and nwfs (Netware).
At least CIFS should be sinced with FreeBSD first, we are mixing a lot
of updates. It should check whether a process is associated with and
otherwise use some default magic. That might mean it has to cache the
credentials of the initial processes.
That basically means going down introducing a function path, i.e.
cred_select(9) or something like that. But maybe passing the
credential of the process through the VOP layer might be a better
This way, we can move the magic of ucred selection into one place
and not have arbitrary function calls all over the place.