Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214788?usp=email )
Change subject: WIP fsal: Add delegation-aware FD reuse to fsal_start_io()
......................................................................
WIP
fsal: Add delegation-aware FD reuse to fsal_start_io()
When a WRITE delegation is granted (DELEG_GRANTED), this change allows
fsal_start_io() to reuse the associated file descriptor from the original
open state, avoiding unnecessary reopen logic. This is done by resolving the
delegated state to its openstate and attempting to start I/O on the related FD.
Reference counting for openstate is properly maintained, and logs are added
for both successful reuse and fallback paths. A placeholder is included
for handling DELEG_RECALL_WIP cases in future updates.
Change-Id: Ia52e44d9d9a2ad2f1e33a76cdbce888384eb1a72
Signed-off-by: s-athani <suhas.athani(a)ibm.com>
---
M src/FSAL/commonlib.c
1 file changed, 61 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/88/1214788/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214788?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: Ia52e44d9d9a2ad2f1e33a76cdbce888384eb1a72
Gerrit-Change-Number: 1214788
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>