Răsfoiți Sursa

NFSv4: Poll more aggressively when handling NFS4ERR_DELAY

Change the initial retry delay from 1s to 0.1s (and then back off
exponentially).

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust 18 ani în urmă
părinte
comite
2066fe89b4
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      fs/nfs/nfs4proc.c

+ 1 - 1
fs/nfs/nfs4proc.c

@@ -55,7 +55,7 @@
 
 #define NFSDBG_FACILITY		NFSDBG_PROC
 
-#define NFS4_POLL_RETRY_MIN	(1*HZ)
+#define NFS4_POLL_RETRY_MIN	(HZ/10)
 #define NFS4_POLL_RETRY_MAX	(15*HZ)
 
 struct nfs4_opendata;