DragonFly BSD
DragonFly bugs List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Rumko's SMB panic


To: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
From: Hiten Pandya <hmp@xxxxxxxxxxxxx>
Date: Sat, 04 Jun 2005 18:32:24 +0100

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.

Joerg

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 idea.

	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



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