Re: Wanted: more fixups for client delegations test/free walk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 Apr 2025, at 10:46, Trond Myklebust wrote:

> Why should we be changing the client if the server implementation or
> the admins are abusing the functionality? Revoking delegation state
> should be an exceptional case because it breaks locks and therefore has
> serious potential to corrupt data.

Clients might not have control over what servers do, and keeping memory
reserved for objects that will never be used again creates both a resource
and performance problem for the client.  This is a problem even for the
exceptional case.

> We can definitely have a separate list on which we put the state that
> fails the FREE_STATEID test.

Is there a reason (I'm not understanding) why we can't remove delegations
from the nfs_server->delegations list after a successful FREE_STATEID?

Ben





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux