lkml.org 
[lkml]   [2022]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 003/545] Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING"
    Date
    From: Trond Myklebust <trond.myklebust@hammerspace.com>

    commit 9597152d98840c2517230740952df97cfcc07e2f upstream.

    This reverts commit c6eb58435b98bd843d3179664a0195ff25adb2c3.
    If a transport is down, then we want to fail over to other transports if
    they are listed in the GETDEVICEINFO reply.

    Fixes: c6eb58435b98 ("pNFS: nfs3_set_ds_client should set NFS_CS_NOPING")
    Cc: stable@vger.kernel.org # 5.11.x
    Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    fs/nfs/nfs3client.c | 1 -
    1 file changed, 1 deletion(-)

    --- a/fs/nfs/nfs3client.c
    +++ b/fs/nfs/nfs3client.c
    @@ -108,7 +108,6 @@ struct nfs_client *nfs3_set_ds_client(st
    if (mds_srv->flags & NFS_MOUNT_NORESVPORT)
    __set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags);

    - __set_bit(NFS_CS_NOPING, &cl_init.init_flags);
    __set_bit(NFS_CS_DS, &cl_init.init_flags);

    /* Use the MDS nfs_client cl_ipaddr. */

    \
     
     \ /
      Last update: 2022-08-19 17:47    [W:4.175 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site