mbox series

[v3,0/2] NFSD: recall write delegation on GETATTR conflict

Message ID 1685500507-23598-1-git-send-email-dai.ngo@oracle.com (mailing list archive)
Headers show
Series NFSD: recall write delegation on GETATTR conflict | expand

Message

Dai Ngo May 31, 2023, 2:35 a.m. UTC
This patch series adds the recall of write delegation when there is
conflict with a GETATTR and a counter in /proc/net/rpc/nfsd to keep
count of this recall.

Changes from v1:

- add comment for nfsd4_deleg_getattr_conflict
- only wait 30ms for delegation to be returned before returing
  NFS4ERR_DELAY
- fix test robot undeclared NFSD_STATS_WDELEG_GETATTR error

Changes from v2:
- call nfsd_open_break_lease for non-nfs lease with F_WRLCK

Comments

Chuck Lever III May 31, 2023, 5:46 p.m. UTC | #1
> On May 30, 2023, at 10:35 PM, Dai Ngo <dai.ngo@oracle.com> wrote:
> 
> This patch series adds the recall of write delegation when there is
> conflict with a GETATTR and a counter in /proc/net/rpc/nfsd to keep
> count of this recall.
> 
> Changes from v1:
> 
> - add comment for nfsd4_deleg_getattr_conflict
> - only wait 30ms for delegation to be returned before returing
>  NFS4ERR_DELAY
> - fix test robot undeclared NFSD_STATS_WDELEG_GETATTR error
> 
> Changes from v2:
> - call nfsd_open_break_lease for non-nfs lease with F_WRLCK
> 

I've applied v3 of this series to nfsd-next for merge into v6.5.
Thanks!


--
Chuck Lever