Suhas Athani has uploaded this change for review.

View Change

FSAL_CEPH: Avoid OPEN_DOWNGRADE hang by fixing async deleg
recall handling.

Fix a hang in NFS-Ganesha when using CephFS backend where
OPEN_DOWNGRADE hangs due to a deadlock in delegation recall
processing.

The fix involves ensuring ceph_ll_delegation is called to
acknowledge delegation recall, but doing so asynchronously
to avoid a recursive lock assertion failure in libcephfs.

Change-Id: I4fd814d7f0226cf2ced08a3a5d25c580ba6aa7b9
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_CEPH/internal.h
2 files changed, 83 insertions(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I4fd814d7f0226cf2ced08a3a5d25c580ba6aa7b9
Gerrit-Change-Number: 1228678
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>