Daniel Gryniewicz has uploaded this change for review.

View Change

MDCACHE - Call read/write callbacks in MDCACHE context

Various calls (such as mdcache_put() and mdcache_kill_entry()) need to
be called in MDCACHE context. However, the read/write callbacks are
called in the context of the sub-FSAL.

Make the entire callback in MDCACHE context, to avoid any future issues.

Change-Id: I49199835dee8e933edf86964410f4a811e993a5c
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_file.c
1 file changed, 43 insertions(+), 11 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I49199835dee8e933edf86964410f4a811e993a5c
Gerrit-Change-Number: 467372
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com>
Gerrit-MessageType: newchange