Xueqian Hu has uploaded this change for review.

View Change

Ganesha Preserve_Unlinked support useful tools

Useful tools might help FSALs to support preserve_unlinked:
1. Helper functions to check if a file to unlink has states.
2. If a file get deleted while still in open, set is_unlink_with_states
in op_ctx to notify underly FSAL.
3. Mark the last close of a file.

Change-Id: Ib104a78ca8dd763ed0ff85a40883861e41bf7ced
Signed-off-by: Xueqian Hu <xh140312@outlook.com>
---
M src/FSAL/fsal_helper.c
M src/SAL/nfs4_state.c
M src/include/fsal.h
M src/include/fsal_api.h
4 files changed, 27 insertions(+), 0 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ib104a78ca8dd763ed0ff85a40883861e41bf7ced
Gerrit-Change-Number: 1207277
Gerrit-PatchSet: 1
Gerrit-Owner: Xueqian Hu <xh140312@outlook.com>