Re: [PATCH] pynfs: Fix RuntimeError by increasing default ca_maxrequests from 8 to 16

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

 



I had a different attempt to address that:

https://lore.kernel.org/all/20250415114814.285400-1-tigran.mkrtchyan@xxxxxxx/\

Tigran.

----- Original Message -----
> From: "Chen Hanxiao" <chenhx.fnst@xxxxxxxxxxx>
> To: "Calum Mackay" <calum.mackay@xxxxxxxxxx>
> Cc: "linux-nfs" <linux-nfs@xxxxxxxxxxxxxxx>
> Sent: Wednesday, 25 June, 2025 10:00:59
> Subject: [PATCH] pynfs: Fix RuntimeError by increasing default ca_maxrequests from 8 to 16

> 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@xxxxxxxxxxx>
> ---
> 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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[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