> On Nov 19, 2024, at 6:45 AM, Roi Azarzar <roi.azarzar@xxxxxxxxxxxx> wrote: > > Hi, > > I noticed that linux server is granting delegation write only on open > that asks share_access=BOTH and doesn't grant delegation in case of > share_access=write (only) - can you elaborate why (except for the > need to check also read access)? Is there any limitation to give write > deleg on share_access=write? This is a limitation of the current NFSD write delegation implementation. A write delegation is equivalent to a RW open on the server. If the client has done only a WR_ONLY OPEN, then the server has no RW-capable stateid to return to the client. Several of us, including Sagi Grimberg, are looking into this right now. > In addition, when I tried to do so (give write deleg on > share_access=write) and did remove for a file the linux client also > did some operations that I didn't expect him to do (lookup+rename), > you can see the attachment, why is that? Classic NFS sillyrename. -- Chuck Lever