Animesh Javali has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1222001?usp=email )
Change subject: Changes include:
......................................................................
Changes include:
- Closing the used global FD using `ceph_close_my_fd()`
during delegreturn.
(Otherwise subsequent WRITE & READ would hang after a
delegreturn.)
- Enabling Read and Write file delegations by switching delegation
option from `FSAL_OPTION_FILE_READ_DELEG` to
`FSAL_OPTION_FILE_DELEGATIONS`.
- In `nfs4_op_open`, store the associated open state key
(`stateid_other`) within the delegation state to open the
files using this information later via fsal_start_io.
- Code changes to allow delegation option parsing from
EXPORT_DEFAULT, EXPORT, CLIENT blocks
- Added FSAL_O_ANY flag for write delegation and delegreturn cases.
- Removed exit label in ceph_fsal_lease_op2 to avoid returning
success whenever fsal_start_io returns failure.
Change-Id: I1c6830f97a89567957057dd66070dc423490b236
Signed-off-by: Animesh Javali <Animesh.Javali(a)ibm.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_CEPH/main.c
M src/MainNFSD/libganesha_nfsd.ver
M src/Protocols/NFS/nfs4_op_open.c
M src/include/export_mgr.h
M src/include/nfs_exports.h
M src/support/exports.c
7 files changed, 76 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/01/1222001/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1222001?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1c6830f97a89567957057dd66070dc423490b236
Gerrit-Change-Number: 1222001
Gerrit-PatchSet: 1
Gerrit-Owner: Animesh Javali <Animesh.Javali(a)ibm.com>