Animesh Javali has uploaded this change for review.
Write Delegations FSAL_CEPH changes
Changes include:
- 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.
- 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: I0906981859f9fda9226faf9feda0c3a4fbbf57a5
Signed-off-by: Animesh Javali <Animesh.Javali@ibm.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_CEPH/main.c
M src/Protocols/NFS/nfs4_op_open.c
M src/include/sal_data.h
4 files changed, 20 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/95/1223395/1
To view, visit change 1223395. To unsubscribe, or for help writing mail filters, visit settings.