summaryrefslogtreecommitdiffstats
path: root/kernel/notifier.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2012-10-16 13:22:19 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-31 16:26:25 -0400
commitacce94e68a0f346115fd41cdc298197d2d5a59ad (patch)
treeb5049a6786fba4c05e71c34944d3fe7280433c28 /kernel/notifier.c
parent7175fe90153e6375082d65884fbb41ab3bbb4901 (diff)
downloadblackbird-op-linux-acce94e68a0f346115fd41cdc298197d2d5a59ad.tar.gz
blackbird-op-linux-acce94e68a0f346115fd41cdc298197d2d5a59ad.zip
nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts
In very busy v3 environment, rpc.mountd can respond to the NULL procedure but not the MNT procedure in a timely manner causing the MNT procedure to time out. The problem is the mount system call returns EIO which causes the mount to fail, instead of ETIMEDOUT, which would cause the mount to be retried. This patch sets the RPC_TASK_SOFT|RPC_TASK_TIMEOUT flags to the rpc_call_sync() call in nfs_mount() which causes ETIMEDOUT to be returned on timed out connections. Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud