Date: Fri, 28 Apr 2017 23:40:53 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r317575 - projects/pnfs-planb-server/sys/fs/nfsserver Message-ID: <201704282340.v3SNeroH025585@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Fri Apr 28 23:40:53 2017 New Revision: 317575 URL: https://svnweb.freebsd.org/changeset/base/317575 Log: Add a call to nfsrv_freealllayoutsanddevids() so that the DS mounts can be dismounted after killing off the nfsd threads. Modified: projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdkrpc.c Modified: projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdkrpc.c ============================================================================== --- projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdkrpc.c Fri Apr 28 22:49:37 2017 (r317574) +++ projects/pnfs-planb-server/sys/fs/nfsserver/nfs_nfsdkrpc.c Fri Apr 28 23:40:53 2017 (r317575) @@ -556,6 +556,7 @@ nfsrvd_init(int terminating) if (terminating) { nfsd_master_proc = NULL; NFSD_UNLOCK(); + nfsrv_freealllayoutsanddevids(); nfsrv_freeallbackchannel_xprts(); svcpool_close(nfsrvd_pool); NFSD_LOCK();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704282340.v3SNeroH025585>