[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110730160610.0b751ffd@notabene.brown>
Date: Sat, 30 Jul 2011 16:06:10 +1000
From: NeilBrown <neilb@...e.de>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: "J. Bruce Fields" <bfields@...ldses.org>,
Greg Banks <gnb@...tmail.fm>,
Christoph Hellwig <hch@...radead.org>,
"linux-nfs@...r.kernel.org" <linux-nfs@...r.kernel.org>,
David Miller <davem@...emloft.net>,
linux-kernel <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] sunrpc: use better NUMA affinities
On Sat, 30 Jul 2011 06:08:34 +0200 Eric Dumazet <eric.dumazet@...il.com>
wrote:
> Le vendredi 29 juillet 2011 à 19:48 -0400, J. Bruce Fields a écrit :
> > On Sat, Jul 30, 2011 at 09:30:25AM +1000, NeilBrown wrote:
> > >
> > > rpc.nfsd 0
> > >
> > > will stop all nfsd threads. Follow with
> > >
> > > exportfs -f
> > >
> > > and you should be done. I'm not 100% sure about the nfsv4 thread though -
> > > would need to check.
> >
> > Should be fine.
> >
>
> What are the needed steps to be able to unload nfsd module ?
>
> So far, I am unable to perform this without using -f option.
>
>
>
>
Kill all nfsd threads.
This can be done with 'kill' or 'rpc.nfsd 0' or
echo 0 > /proc/fs/nfsd/threads
kill mountd
killall rpc.mountd
kill idmapd
unexport everything.
This can be done with 'exportfs -f' and checked by
grep . /proc/net/rpc/*/content
this should only contain comments
unmount the 'nfsd' filesystem
umount /proc/fs/nfsd
rmmod nfsd
(it look me ages to remember idmapd - but
lsof /proc/net/rpc/*/*
gave it away)
NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists