APPLIED: [PATCH 0/2] [focal/impish/jammy linux-azure] Add sunrpc module parameters for NFSv3 nconnect
Tim Gardner
tim.gardner at canonical.com
Wed Feb 2 14:06:12 UTC 2022
Applied to focal/linux-azure, focal/linux-azure-5.11,
impish/linux-azure, jammy/linux-azure. Thanks.
-rtg
On 1/25/22 6:54 AM, Tim Gardner wrote:
> BugLink: https://bugs.launchpad.net/bugs/1958990
>
> SRU Justification
>
> [Impact]
>
> Microsoft has requested the addition of 2 module parameters to sunrpc.
> The primary purpose of which is to restrict or pin NFSv3 TCP connections
> to one server in order to take advantage of local server connection caching.
> In the presence of a load balancer, round robin connection requests defeats
> the advantages of local caching.
>
> This patch also fixes a race condition when setting RPC message values and
> adding a client connection to the task list. Before, client connections were
> added to the task list before the associated RPC message was fully setup.
>
> With the author's permission I have changed the default value of enable_azure_nconnect
> to false in order to preserve the original logic of this module with the exception
> of the above mentioned race condition.
>
> [Test Plan]
>
> Microsoft tested
>
> [Where things could go wrong]
>
> NFSv3 connection attempts could be slow or fail altogether.
>
> [Other Info]
>
> SF: #00312346
>
--
-----------
Tim Gardner
Canonical, Inc
More information about the kernel-team
mailing list