Change in ffilz/nfs-ganesha[next]: Add nfs_req_result type and convert nfs4 compound ops to return it
From Frank Filz <ffilzlnx@mindspring.com>: Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/430998 Change subject: Add nfs_req_result type and convert nfs4 compound ops to return it ...................................................................... Add nfs_req_result type and convert nfs4 compound ops to return it Instead of returning the redundant nfsstat4, return nfs_req_result. We add a new value also NFS_REQ_ERROR (which is used by nfs4_Compound to determine if it should stop the loop). This will be more meaninfull once we add a nfs_req_result to indicate a need to suspend an async request. Change-Id: I05029037bf09e32a678cfaf56b74e47d60cb62f9 Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/Protocols/NFS/nfs4_Compound.c M src/Protocols/NFS/nfs4_op_access.c M src/Protocols/NFS/nfs4_op_allocate.c M src/Protocols/NFS/nfs4_op_bind_conn.c M src/Protocols/NFS/nfs4_op_close.c M src/Protocols/NFS/nfs4_op_commit.c M src/Protocols/NFS/nfs4_op_create.c M src/Protocols/NFS/nfs4_op_create_session.c M src/Protocols/NFS/nfs4_op_delegpurge.c M src/Protocols/NFS/nfs4_op_delegreturn.c M src/Protocols/NFS/nfs4_op_destroy_clientid.c M src/Protocols/NFS/nfs4_op_destroy_session.c M src/Protocols/NFS/nfs4_op_exchange_id.c M src/Protocols/NFS/nfs4_op_free_stateid.c M src/Protocols/NFS/nfs4_op_getattr.c M src/Protocols/NFS/nfs4_op_getdeviceinfo.c M src/Protocols/NFS/nfs4_op_getdevicelist.c M src/Protocols/NFS/nfs4_op_getfh.c M src/Protocols/NFS/nfs4_op_illegal.c M src/Protocols/NFS/nfs4_op_layoutcommit.c M src/Protocols/NFS/nfs4_op_layoutget.c M src/Protocols/NFS/nfs4_op_layoutreturn.c M src/Protocols/NFS/nfs4_op_link.c M src/Protocols/NFS/nfs4_op_lock.c M src/Protocols/NFS/nfs4_op_lockt.c M src/Protocols/NFS/nfs4_op_locku.c M src/Protocols/NFS/nfs4_op_lookup.c M src/Protocols/NFS/nfs4_op_lookupp.c M src/Protocols/NFS/nfs4_op_nverify.c M src/Protocols/NFS/nfs4_op_open.c M src/Protocols/NFS/nfs4_op_open_confirm.c M src/Protocols/NFS/nfs4_op_open_downgrade.c M src/Protocols/NFS/nfs4_op_openattr.c M src/Protocols/NFS/nfs4_op_putfh.c M src/Protocols/NFS/nfs4_op_putpubfh.c M src/Protocols/NFS/nfs4_op_putrootfh.c M src/Protocols/NFS/nfs4_op_read.c M src/Protocols/NFS/nfs4_op_readdir.c M src/Protocols/NFS/nfs4_op_readlink.c M src/Protocols/NFS/nfs4_op_reclaim_complete.c M src/Protocols/NFS/nfs4_op_release_lockowner.c M src/Protocols/NFS/nfs4_op_remove.c M src/Protocols/NFS/nfs4_op_rename.c M src/Protocols/NFS/nfs4_op_renew.c M src/Protocols/NFS/nfs4_op_restorefh.c M src/Protocols/NFS/nfs4_op_savefh.c M src/Protocols/NFS/nfs4_op_secinfo.c M src/Protocols/NFS/nfs4_op_secinfo_no_name.c M src/Protocols/NFS/nfs4_op_sequence.c M src/Protocols/NFS/nfs4_op_set_ssv.c M src/Protocols/NFS/nfs4_op_setattr.c M src/Protocols/NFS/nfs4_op_setclientid.c M src/Protocols/NFS/nfs4_op_setclientid_confirm.c M src/Protocols/NFS/nfs4_op_test_stateid.c M src/Protocols/NFS/nfs4_op_verify.c M src/Protocols/NFS/nfs4_op_write.c M src/Protocols/NFS/nfs4_op_xattr.c M src/include/nfs_proto_data.h M src/include/nfs_proto_functions.h 59 files changed, 688 insertions(+), 568 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/98/430998/1 -- To view, visit https://review.gerrithub.io/430998 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: I05029037bf09e32a678cfaf56b74e47d60cb62f9 Gerrit-Change-Number: 430998 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
participants (1)
-
GerritHub