Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/553780?usp=email )
Change subject: For async I/O the callback must create it's own op_context
......................................................................
For async I/O the callback must create it's own op_context
We can't pass the orginal caller's op_context, it may still need it.
Just instantiate a simple op_context for the callback.
The callback op_context needs an export reference but we can take
it when we create the op_context because until the protocol callback
is made, we know the protocol request's op_context with its reference
for the export MUST still be valid.
Change-Id: I061c7eed8105b3283a243335b5ea63a86225b85b
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_MEM/mem_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_file.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
4 files changed, 98 insertions(+), 47 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/80/553780/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/553780?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I061c7eed8105b3283a243335b5ea63a86225b85b
Gerrit-Change-Number: 553780
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange