Rumko's SMB panic

Hiten Pandya hmp at
Sat Jun 4 10:32:24 PDT 2005

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.
					Hiten Pandya

More information about the Bugs mailing list