-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing callback for OP_CLOSE in VirtualFileSystem #38
Comments
As client can merge multiple opens into a single one you must bind your close action to open-state-id, which on dispose will call-back your onClose action.. By saying that I am pretty sure nfs4j does not provides a way to create such a binding. One possibility will be to extend CLOSE and OPEN operations and add required functionality. For example: As you have a valid use-case, I am fine to add a functionality which will make tracking of open+close operation simple. Can you provide a little bit more context? |
The context is as follows (sorry for asking for a solution instead of describing the problem): The implementation of the virtual filesystem handles a persistent connection for open files with |
…s as described in dCache#38. Signed-off-by: David Kocher <[email protected]>
…s as described in dCache#38. Signed-off-by: David Kocher <[email protected]>
I am missing a notification in the virtual filesystem for
CLOSE
operations. Would be nice if theVirtualFileSystem
can be extended with aclose
operation that is called fromorg.dcache.nfs.v4.OperationCLOSE
.The text was updated successfully, but these errors were encountered: