[PATCH 0/3] [RFC] knfsd: convert to kthread API and remove signaling for shutdown
Greg Banks
gnb at melbourne.sgi.com
Mon May 19 22:34:27 EDT 2008
Jeff Layton wrote:
>
> This is the problem we have now with the BKL. So much of
> rpc/nlm/nfs/nfsd runs under it that it's nearly impossible to tell what
> it's intended to actually protect.
Practically none of nfsd runs under BKL, except the startup and shutdown
sequences and some of the write handlers for /proc/fs/nfsd/.
> If we're going to start a push
> toward BKL removal, my humble request is that we try to be as explicit
> as possible about what locks protect what data structures.
>
See comments in net/sunrpc/svcsock.c and net/sunrpc/svc.c. Here the BKL
is protecting the global nfsd_serv pointer.
--
Greg Banks, P.Engineer, SGI Australian Software Group.
The cake is *not* a lie.
I don't speak for SGI.
More information about the NFSv4
mailing list