Messages in this thread | | | Date | Sat, 30 Jul 2011 16:06:10 +1000 | From | NeilBrown <> | Subject | Re: [PATCH] sunrpc: use better NUMA affinities |
| |
On Sat, 30 Jul 2011 06:08:34 +0200 Eric Dumazet <eric.dumazet@gmail.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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |