Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1221975?usp=email )
Change subject: FSAL: Add delegation-aware FD reuse to fsal_start_io()
......................................................................
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.
Change-Id: I2510d276db8f531a553362573896c194ba6bf610
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/FSAL/commonlib.c
M src/include/sal_data.h
2 files changed, 34 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/75/1221975/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1221975?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: I2510d276db8f531a553362573896c194ba6bf610
Gerrit-Change-Number: 1221975
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>