>From Jeff Layton <jlay...@redhat.com>:

Jeff Layton has uploaded this change for review. ( 
https://review.gerrithub.io/376680


Change subject: nfs: make the single-op callback helper be minorversion neutral
......................................................................

nfs: make the single-op callback helper be minorversion neutral

CB_RECALL was only ever implemented for v4.0, and doesn't work properly
for v4.1 clients. We have some better-layered infrastructure for handling
layout recalls and device notifications, but that doesn't currently work
for v4.0.

Add a new handler called nfs_rpc_v40_single that is a parallel to
nfs_rpc_v41_single. Then, add a wrapper that calls the appropriate
function for the client minorversion. Convert all existing callers of
nfs_rpc_v41_single to use the new wrapper.

Change-Id: I517ff36a9276bbda75d550a96be0574a630bc783
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/FSAL_UP/fsal_up_top.c
M src/MainNFSD/nfs_rpc_callback.c
M src/include/nfs_rpc_callback.h
3 files changed, 89 insertions(+), 29 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/80/376680/1
-- 
To view, visit https://review.gerrithub.io/376680
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I517ff36a9276bbda75d550a96be0574a630bc783
Gerrit-Change-Number: 376680
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to