Commit d3edfd9
nfsd: implement OPEN_ARGS_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATION
Allow clients to request getting a delegation xor an open stateid if a
delegation isn't available. This allows the client to avoid sending a
final CLOSE for the (useless) open stateid, when it is granted a
delegation.
If this flag is requested by the client and there isn't already a new
open stateid, discard the new open stateid before replying.
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent 7e13f4f commit d3edfd9
2 files changed
+25
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6242 | 6242 | | |
6243 | 6243 | | |
6244 | 6244 | | |
| 6245 | + | |
| 6246 | + | |
| 6247 | + | |
| 6248 | + | |
| 6249 | + | |
| 6250 | + | |
| 6251 | + | |
| 6252 | + | |
| 6253 | + | |
| 6254 | + | |
| 6255 | + | |
6245 | 6256 | | |
6246 | 6257 | | |
6247 | 6258 | | |
| |||
6339 | 6350 | | |
6340 | 6351 | | |
6341 | 6352 | | |
| 6353 | + | |
| 6354 | + | |
| 6355 | + | |
| 6356 | + | |
| 6357 | + | |
| 6358 | + | |
| 6359 | + | |
| 6360 | + | |
| 6361 | + | |
| 6362 | + | |
| 6363 | + | |
6342 | 6364 | | |
6343 | 6365 | | |
6344 | 6366 | | |
| |||
6355 | 6377 | | |
6356 | 6378 | | |
6357 | 6379 | | |
6358 | | - | |
| 6380 | + | |
6359 | 6381 | | |
6360 | 6382 | | |
6361 | 6383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3421 | 3421 | | |
3422 | 3422 | | |
3423 | 3423 | | |
3424 | | - | |
| 3424 | + | |
| 3425 | + | |
3425 | 3426 | | |
3426 | 3427 | | |
3427 | 3428 | | |
| |||
0 commit comments