Sriram Patil has uploaded this change for review.

View Change

Stop reaper threads before worker threads when shutting down

Worker threads may take time to shutdown because of the inflight
operations. During this time a client state can expire and reaper thread
may delete the client recovery directories before shutdown. This means, the
client will not be able to recover the state after server restart/failover.

Ganesha shutdown sequence is changed to stop reaper threads before worker
threads to avoid unfortunate client state deletion.

Change-Id: Id545950d45fb23869dd1aacda2acf32ca08908c7
Signed-off-by: Sriram Patil <sriramp@vmware.com>
---
M src/MainNFSD/nfs_admin_thread.c
1 file changed, 10 insertions(+), 9 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/05/493905/1

To view, visit change 493905. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id545950d45fb23869dd1aacda2acf32ca08908c7
Gerrit-Change-Number: 493905
Gerrit-PatchSet: 1
Gerrit-Owner: Sriram Patil <sriramp@vmware.com>
Gerrit-MessageType: newchange