Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] pynfs: Fix RuntimeError by increasing default ca_maxrequests from 8 to 16
@ 2025-06-25  8:00 Chen Hanxiao
  2025-06-25 13:58 ` Jeff Layton
  2025-06-25 17:20 ` Mkrtchyan, Tigran
  0 siblings, 2 replies; 6+ messages in thread
From: Chen Hanxiao @ 2025-06-25  8:00 UTC (permalink / raw)
  To: calum.mackay; +Cc: linux-nfs

Increased the default value of ca_maxrequests from 8 to 16 to address a
RuntimeError encountered in DELEG8.

This change resolves the issue where
DELEG8 st_delegation.testDelegRevocation
fails with a RuntimeError: "Out of slots".

Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com>
---
 nfs4.1/nfs4client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nfs4.1/nfs4client.py b/nfs4.1/nfs4client.py
index f4fabcc..fa31b34 100644
--- a/nfs4.1/nfs4client.py
+++ b/nfs4.1/nfs4client.py
@@ -390,7 +390,7 @@ class ClientRecord(object):
                        fore_attrs=None, back_attrs=None, sec=None,
                        prog=None,
                        max_retries=1, delay_time=1):
-        chan_attrs = channel_attrs4(0,8192,8192,8192,128,8,[])
+        chan_attrs = channel_attrs4(0,8192,8192,8192,128,16,[])
         if fore_attrs is None:
             fore_attrs = chan_attrs
         if back_attrs is None:
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-26  2:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25  8:00 [PATCH] pynfs: Fix RuntimeError by increasing default ca_maxrequests from 8 to 16 Chen Hanxiao
2025-06-25 13:58 ` Jeff Layton
2025-06-25 18:26   ` Mkrtchyan, Tigran
2025-06-26  2:52     ` 回复: " Hanxiao Chen (Fujitsu)
2025-06-25 17:20 ` Mkrtchyan, Tigran
2025-06-25 18:17   ` Calum Mackay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox