From: Calum Mackay <calum.mackay@oracle.com>
To: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>,
Chen Hanxiao <chenhx.fnst@fujitsu.com>
Cc: Calum Mackay <calum.mackay@oracle.com>,
linux-nfs <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH] pynfs: Fix RuntimeError by increasing default ca_maxrequests from 8 to 16
Date: Wed, 25 Jun 2025 19:17:39 +0100 [thread overview]
Message-ID: <58c575e5-7df7-4fbd-b1a1-98ca8488d6f0@oracle.com> (raw)
In-Reply-To: <1248643633.14443075.1750872022054.JavaMail.zimbra@desy.de>
Yes, apologies, I have a wee backlog of pynfs fixes to apply, which I
shall get to later this week, or early next.
On 25/06/2025 6:20 pm, Mkrtchyan, Tigran wrote:
>
> I had a different attempt to address that:
>
> https://lore.kernel.org/all/20250415114814.285400-1-tigran.mkrtchyan@desy.de/\
>
> Tigran.
>
> ----- Original Message -----
>> From: "Chen Hanxiao" <chenhx.fnst@fujitsu.com>
>> To: "Calum Mackay" <calum.mackay@oracle.com>
>> Cc: "linux-nfs" <linux-nfs@vger.kernel.org>
>> 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@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
prev parent reply other threads:[~2025-06-25 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58c575e5-7df7-4fbd-b1a1-98ca8488d6f0@oracle.com \
--to=calum.mackay@oracle.com \
--cc=chenhx.fnst@fujitsu.com \
--cc=linux-nfs@vger.kernel.org \
--cc=tigran.mkrtchyan@desy.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox