Lines Matching full:delegation
101 "Issue a write delegation for read opens if possible");
1147 * and the delegation lists. in nfsrv_dumpaclient()
1512 * Free a list of delegation state structures.
1528 * Free up a delegation.
1829 int getlckret, delegation = 0, filestruct_locked, vnode_unlocked = 0; in nfsrv_lockctrl() local
2152 * - stateid for a delegation in nfsrv_lockctrl()
2157 delegation = 1; in nfsrv_lockctrl()
2198 if ((new_stp->ls_flags & NFSLCK_CHECK) && !delegation) { in nfsrv_lockctrl()
2264 * Check for a conflicting delegation. If one is found, call in nfsrv_lockctrl()
2267 * the delegation. Then, we try try again... in nfsrv_lockctrl()
2270 * - there is a conflict iff a different client has a write delegation in nfsrv_lockctrl()
2272 * - there is a conflict iff a different client has a write delegation in nfsrv_lockctrl()
2275 * - there is a conflict if a different client has any delegation in nfsrv_lockctrl()
2276 * - there is a conflict if the same client has a read delegation in nfsrv_lockctrl()
2370 if (!delegation) { in nfsrv_lockctrl()
2667 * For Delegate_Cur, search for the matching Delegation, in nfsrv_opencheck()
2669 * An old delegation should have been recovered by the in nfsrv_opencheck()
2733 * Check for a conflicting delegation. If one is found, call in nfsrv_opencheck()
2736 * the delegation. Then, we try try again... in nfsrv_opencheck()
2737 * (If NFSLCK_DELEGCUR is set, it has a delegation, so there in nfsrv_opencheck()
2741 * - there is a conflict iff a different client has a write delegation in nfsrv_opencheck()
2743 * - there is a conflict if a different client has any delegation in nfsrv_opencheck()
2744 * - there is a conflict if the same client has a read delegation in nfsrv_opencheck()
2746 * considered a conflict since the client with a read delegation in nfsrv_opencheck()
2750 * an atomic upgrade to a write delegation. in nfsrv_opencheck()
2932 * For Delegate_Cur, search for the matching Delegation, in nfsrv_openctrl()
2934 * An old delegation should have been recovered by the in nfsrv_openctrl()
2965 * Don't issue a Delegation, since one already exists and in nfsrv_openctrl()
2966 * delay delegation timeout, as required. in nfsrv_openctrl()
2985 * delegation that can be issued is a Read delegation in nfsrv_openctrl()
3032 * Check for a conflicting delegation. If one is found, call in nfsrv_openctrl()
3035 * the delegation. Then, we try try again... in nfsrv_openctrl()
3036 * (If NFSLCK_DELEGCUR is set, it has a delegation, so there in nfsrv_openctrl()
3040 * - there is a conflict iff a different client has a write delegation in nfsrv_openctrl()
3042 * - there is a conflict if a different client has any delegation in nfsrv_openctrl()
3043 * - there is a conflict if the same client has a read delegation in nfsrv_openctrl()
3045 * considered a conflict since the client with a read delegation in nfsrv_openctrl()
3049 * an atomic upgrade to a write delegation. in nfsrv_openctrl()
3101 * a match. If found, just move the old delegation to the current in nfsrv_openctrl()
3102 * delegation list and issue open. If not found, return in nfsrv_openctrl()
3181 * Scan to see that no delegation for this client and file in nfsrv_openctrl()
3192 * This is the Claim_Previous case with a delegation in nfsrv_openctrl()
3196 * First, add the delegation. (Although we must issue the in nfsrv_openctrl()
3197 * delegation, we can also ask for an immediate return.) in nfsrv_openctrl()
3311 * This is where we can choose to issue a delegation. in nfsrv_openctrl()
3338 * This is where we can choose to issue a delegation. in nfsrv_openctrl()
3366 * This is where we can choose to issue a delegation. in nfsrv_openctrl()
3587 * Delegation update. Does the purge and return.
5242 * Resolve a delegation conflict.
5251 * for the delegation to be returned or expire (so that other nfsds can
5270 * If the conflict is with an old delegation... in nfsrv_delegconflict()
5284 * During this delay, the old delegation could expire or it in nfsrv_delegconflict()
5300 * It's a current delegation, so: in nfsrv_delegconflict()
5301 * - check to see if the delegation has expired in nfsrv_delegconflict()
5316 * the callback is done. (The delegation will now time in nfsrv_delegconflict()
5318 * will be extended when ops are done on the delegation in nfsrv_delegconflict()
5335 * the delegation in it when transitting the network. in nfsrv_delegconflict()
5381 * this delegation. in nfsrv_delegconflict()
5416 * Ok, we can delete the expired delegation. in nfsrv_delegconflict()
5534 * Returns -1 to indicate it slept while recalling a delegation.
5568 * require that any NFSv4 delegation for the file be recalled.
5570 * VOP_RENAME() - When a delegation is being recalled for any reason,
5575 * been removed on the server, if there is a delegation issued to
5582 * returned with a Write delegation, but current practice is to ignore
5586 * VOP_ADVLOCK() - When a client holds a delegation, it can issue byte range
5661 * allowed by the delegation. However, Setattr Ops that aren't changing
5662 * the size get a stateid of all 0s, so you can't tell if it is a delegation
5666 * as Write backs, even if there is no delegation, so it really isn't any
5711 * Check for a write delegation and do a CBGETATTR if there is one, updating
5751 * Now, look for a write delegation. in nfsrv_checkgetattr()
5763 /* If the clientid is not confirmed, ignore the delegation. */ in nfsrv_checkgetattr()
5771 * If the Write delegation was issued as a part of this Compound RPC in nfsrv_checkgetattr()
5773 * compound) and it is the client the delegation was issued to, in nfsrv_checkgetattr()
5789 * We are now done with the delegation state structure, in nfsrv_checkgetattr()
5915 * Delay the delegation timeout as far as ls_delegtimelimit, as required.
6627 /* First, check for a delegation. */ in nfsrv_freestateid()
6639 /* Not a delegation, try for a lock_owner. */ in nfsrv_freestateid()
8157 * - A Write Delegation
8215 /* Now, look for a Write delegation for this clientid. */ in nfsrv_checkdsattr()
8227 /* No Write delegation, so look for an Open with Write_access. */ in nfsrv_checkdsattr()
8924 * Issue a delegation and, optionally set rflagsp for why not.