linux-nfs / nfsd

Linux kernel source tree
Other
0 stars 0 forks source link

NFSD support for on-demand delegation #9

Open chucklever opened 7 months ago

chucklever commented 7 months ago

This was bugzilla.linux-nfs.org 364

Description

[Chuck Lever 2021-08-09 14:40:31 UTC] The NFSv4.1 and newer protocols enable clients to request delegations for files they believe will be repeatedly re-used. NFSv4.0 left the server in charge of granting delegations.

Comment 1

[J. Bruce Fields 2022-01-10 20:59:57 UTC] I think NFSv4.1+ servers still have a lot of leeway to turn down delegation requests.

But, yes, it would be interesting to look into allowing clients to register "wants" and implementing WANT_DELEGATION. https://datatracker.ietf.org/doc/html/rfc8881#section-18.49

Write delegation implementation (bug 348) and smarter delegation policy (e.g. bug 368) should probably come first.

Comment 2

[Chuck Lever 2022-01-21 19:12:33 UTC] Are clients trying to do anything with WANT_DELEGATION yet? Do other servers implement it?

chucklever commented 7 months ago

[J. Bruce Fields 2022-01-10 20:59:57 UTC] I think NFSv4.1+ servers still have a lot of leeway to turn down delegation requests.

But, yes, it would be interesting to look into allowing clients to register "wants" and implementing WANT_DELEGATION. https://datatracker.ietf.org/doc/html/rfc8881#section-18.49

Write delegation implementation (bug 348) and smarter delegation policy (e.g. bug 368) should probably come first.

chucklever commented 7 months ago

[Chuck Lever 2022-01-21 19:12:33 UTC] Are clients trying to do anything with WANT_DELEGATION yet? Do other servers implement it?