Lines Matching defs:delegation
78 "Issue a write delegation for read opens if possible");
905 * and the delegation lists.
1235 * Free a list of delegation state structures.
1251 * Free up a delegation.
1538 int getlckret, delegation = 0, filestruct_locked, vnode_unlocked = 0;
1855 * - stateid for a delegation
1860 delegation = 1;
1900 if ((new_stp->ls_flags & NFSLCK_CHECK) && !delegation) {
1966 * Check for a conflicting delegation. If one is found, call
1969 * the delegation. Then, we try try again...
1972 * - there is a conflict iff a different client has a write delegation
1974 * - there is a conflict iff a different client has a write delegation
1977 * - there is a conflict if a different client has any delegation
1978 * - there is a conflict if the same client has a read delegation
2072 if (!delegation) {
2369 * For Delegate_Cur, search for the matching Delegation,
2371 * An old delegation should have been recovered by the
2435 * Check for a conflicting delegation. If one is found, call
2438 * the delegation. Then, we try try again...
2439 * (If NFSLCK_DELEGCUR is set, it has a delegation, so there
2443 * - there is a conflict iff a different client has a write delegation
2445 * - there is a conflict if a different client has any delegation
2446 * - there is a conflict if the same client has a read delegation
2448 * considered a conflict since the client with a read delegation
2628 * For Delegate_Cur, search for the matching Delegation,
2630 * An old delegation should have been recovered by the
2661 * Don't issue a Delegation, since one already exists and
2662 * delay delegation timeout, as required.
2681 * delegation that can be issued is a Read delegation
2728 * Check for a conflicting delegation. If one is found, call
2731 * the delegation. Then, we try try again...
2732 * (If NFSLCK_DELEGCUR is set, it has a delegation, so there
2736 * - there is a conflict iff a different client has a write delegation
2738 * - there is a conflict if a different client has any delegation
2739 delegation
2741 * considered a conflict since the client with a read delegation
2792 * a match. If found, just move the old delegation to the current
2793 * delegation list and issue open. If not found, return
2872 * Scan to see that no delegation for this client and file
2883 * This is the Claim_Previous case with a delegation
2887 * First, add the delegation. (Although we must issue the
2888 * delegation, we can also ask for an immediate return.)
3000 * This is where we can choose to issue a delegation.
3062 * This is where we can choose to issue a delegation.
3133 * This is where we can choose to issue a delegation.
3384 * Delegation update. Does the purge and return.
4791 * Resolve a delegation conflict.
4800 * for the delegation to be returned or expire (so that other nfsds can
4819 * If the conflict is with an old delegation...
4833 * During this delay, the old delegation could expire or it
4849 * It's a current delegation, so:
4850 * - check to see if the delegation has expired
4863 * the callback is done. (The delegation will now time
4865 * will be extended when ops are done on the delegation
4879 * the delegation in it when transitting the network.
4925 * this delegation.
4960 * Ok, we can delete the expired delegation.
5072 * Returns -1 to indicate it slept while recalling a delegation.
5106 * require that any NFSv4 delegation for the file be recalled.
5108 * VOP_RENAME() - When a delegation is being recalled for any reason,
5113 * been removed on the server, if there is a delegation issued to
5120 * returned with a Write delegation, but current practice is to ignore
5124 * VOP_ADVLOCK() - When a client holds a delegation, it can issue byte range
5198 * allowed by the delegation. However, Setattr Ops that aren't changing
5199 * the size get a stateid of all 0s, so you can't tell if it is a delegation
5203 * as Write backs, even if there is no delegation, so it really isn't any
5248 * Check for a write delegation and do a CBGETATTR if there is one, updating
5287 * Now, look for a write delegation.
5301 * If the Write delegation was issued as a part of this Compound RPC
5303 * compound) and it is the client the delegation was issued to,
5319 * We are now done with the delegation state structure,
5433 * Delay the delegation timeout as far as ls_delegtimelimit, as required.
5985 /* First, check for a delegation. */
5997 /* Not a delegation, try for a lock_owner. */