deleg: use delegations to satisfy opens locally
added delegation.c and .h nfs41_client stores a list of nfs41_delegation_state new function nfs41_delegate_open() to look for a compatible delegation before calling nfs41_open() if nfs41_open() is granted a delegation, call nfs41_delegation_granted() to register it with the client client calls nfs41_client_delegation_free() on unmount to free list of delegations Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
0c874a66ba
commit
0bee545e91
7 changed files with 345 additions and 16 deletions
|
|
@ -113,6 +113,9 @@
|
|||
<ClCompile Include="..\daemon\acl.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\daemon\delegation.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\daemon\daemon_debug.h">
|
||||
|
|
@ -166,6 +169,9 @@
|
|||
<ClInclude Include="..\daemon\tree.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\daemon\delegation.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\daemon\sources">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue