Animesh Javali has uploaded this change for review.

View Change

IBMCEPH-21357: Fix intermittent Ganesha crash

Added an export read lock while iterating over
the export state list to prevent accessing
stale state objects that may be freed
concurrently by other threads.

Added an export reference before submitting the
asynchronous delegation recall worker thread to
ensure the export remains valid throughout the
worker's execution.

Change-Id: I48aaaf85747e1a5ad463ed506f75f858f62bc5b3
Signed-off-by: Animesh Javali <Animesh.Javali@ibm.com>
---
M src/support/export_mgr.c
1 file changed, 28 insertions(+), 25 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I48aaaf85747e1a5ad463ed506f75f858f62bc5b3
Gerrit-Change-Number: 1258395
Gerrit-PatchSet: 1
Gerrit-Owner: Animesh Javali <Animesh.Javali@ibm.com>