Lines Matching full:delegation

842  * Allocate a new open/delegation state counter. This is needed for
1066 * When we recall a delegation, we should be careful not to hand it
1070 * If a filehandle appear in either filter, a delegation is blocked.
1071 * When a delegation is recalled, the filehandle is stored in the "new"
1162 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg()
1254 * nfs4_delegation_exists - Discover if this delegation already exists
1255 * @clp: a pointer to the nfs4_client we're granting a delegation to
1256 * @fp: a pointer to the nfs4_file we're granting a delegation on
1259 * On success: true iff an existing delegation is found
1281 * hash_delegation_locked - Add a delegation to the appropriate lists
1283 * @fp: a pointer to the nfs4_file we're granting a delegation on
1286 * On success: NULL if the delegation was successfully hashed.
1289 * nfs4_client for this nfs4_file. Delegation is not hashed.
1355 * revoke_delegation - perform nfs4 delegation structure cleanup
1356 * @dp: pointer to the delegation
1359 * interface (nfsd4_revoke_states()) that's revoking a specific delegation
1373 * for removing it from the list. Inspection of where the delegation state
1734 * All nfs4 states (open, lock, delegation, layout) held by the server instance
5208 * %true: delegation was returned
5265 * granting delegation. in nfsd4_cb_recall_done()
5324 * we'll remove it ourself if a delegation isn't returned in nfsd_break_deleg_cb()
5784 * It's possible that between opening the dentry and setting the delegation,
5814 * may not notice and continue using the old mode. Avoid giving out a delegation
5850 * Try for a write delegation first. RFC8881 section 10.4 says: in nfs4_set_delegation()
5852 * "An OPEN_DELEGATE_WRITE delegation allows the client to handle, in nfs4_set_delegation()
5855 * Furthermore the client can use a write delegation for most READ in nfs4_set_delegation()
5858 * Offer a write delegation in the case of a BOTH open, and ensure in nfs4_set_delegation()
5868 * file for some reason, then try for a read delegation instead. in nfs4_set_delegation()
6008 * begins each COMPOUND contains a client ID. Delegation recall can
6010 * GETATTR also holds write delegation it conflicts with.
6014 * conflicting delegation versus coming from some other client. Per
6017 * holds the conflicting delegation.
6023 * eventually revokes the delegation, which can result in loss of
6091 dprintk("NFSD: WARNING: refusing delegation reclaim\n"); in nfs4_open_delegation()
6095 /* 4.1 client asking for a delegation? */ in nfs4_open_delegation()
6113 /* Otherwise the client must be confused wanting a delegation in nfsd4_deleg_xgrade_none_ext()
6212 * Attempt to hand out a delegation. No error return, because the in nfsd4_process_open2()
6220 /* 4.1 client trying to upgrade/downgrade delegation? */ in nfsd4_process_open2()
8576 * Since the lifetime of a delegation isn't limited to that of an open, a
8577 * client may quite reasonably hang on to a delegation as long as it has
8589 * estimates suggest that in the worst case (where every delegation in set_max_delegations()
8590 * is for a different inode), a delegation could take about 1.5K, in set_max_delegations()
8895 * @pdp: returned WRITE delegation, if one was found
8898 * delegation and a change/size GETATTR from another client. The server
8900 * attributes from the client that holds the delegation or recall the
8901 * delegation before replying to the GETATTR. See RFC 8881 section
8961 /* Recall delegation only if client didn't respond */ in nfsd4_deleg_getattr_conflict()