unfsd anyone ?

Thomas Pornin (pornin@bolet.ens.fr)
Wed, 16 Jun 1999 10:01:02 +0200


In article <5l909l5t33.fsf@tequila.cs.yale.edu> you write:
> Why is nfsd in the kernel ?
> unfsd had some problems, but were they due to its being user-level
> or were they just due to its own design ?

It is a matter of context-switching and race conditions. With knfsd, you
avoid many switches, and, moreover, the multiple nfsd threads may much
more easily cooperate.

All major unixes use some magic hook in the kernel for nfs servers:
for instance, BSD uses the nfssvc() system call.

Therefore knfsd is considered as "the way to go".

--Thomas Pornin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/