fatih@gandi.net has uploaded this change for review.

View Change

FSAL_UP: prevent races when doing an async deleg recall

Under high workload the async delegation recall may be called too late.
The handle passed to the async thread may be free'd before it is executed.
We must get a ref on the handle before starting the async recall.

Change-Id: Ie1d9611b9cb10f55232103d66e237121b53230df
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/FSAL_UP/fsal_up_async.c
1 file changed, 8 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1d9611b9cb10f55232103d66e237121b53230df
Gerrit-Change-Number: 425591
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <fatih@gandi.net>