All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mi Jinlong <mijinlong@cn.fujitsu.com>
To: "Trond.Myklebust" <trond.myklebust@fys.uio.no>,
	"J. Bruce Fields" <bfields@fieldses.org>,
	Chuck Lever <chuck.lever@oracle.com>,
	NFSv3 list <linux-nfs@vger.kernel.org>
Subject: [RFC] SUNRPC connect timeout case network request delay
Date: Thu, 04 Mar 2010 18:12:50 +0800	[thread overview]
Message-ID: <4B8F87A2.5080509@cn.fujitsu.com> (raw)

Hi,

When I use the nfs at RHEL with kernel-2.6.31 and nfs-utils-1.2.0, 
I got a problem, but i don't sure.

The process:

Step1: [22:40:9] Open file /mnt/nfs/file(OK)
Step2: [22:40:9] Lock file
       [22:40:9] Lock file success
Step3: [22:40:9] Reboot the nfs server
       If reboot success, put <enter> to continue
Step4: [22:42:16] Write data to file
       [22:42:16] Write data success
Step5: [22:42:16] Unlock file
       [22:46:30] Unlock file success.
Step6: [22:46:30] Close file /mnt/nfs/file
       [22:46:30] Close fiel /mnt/nfs/file success

The problem is at step5, unlock file takes 4 min, it's a long time than expected.
When traceing the kernel, I find SUNRPC call call_connect timeout many times, 
one timeout is 1min.

I think it's a problem of kernel, but i don't know why, can someone help me ?

thanks,
Mi Jinlong


             reply	other threads:[~2010-03-04 10:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04 10:12 Mi Jinlong [this message]
2010-03-04 16:58 ` [RFC] SUNRPC connect timeout case network request delay Chuck Lever
2010-03-08  9:59   ` Mi Jinlong
2010-03-08 15:40     ` Chuck Lever
2010-03-12  9:55       ` Mi Jinlong
2010-03-12 13:35         ` Trond Myklebust

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=4B8F87A2.5080509@cn.fujitsu.com \
    --to=mijinlong@cn.fujitsu.com \
    --cc=bfields@fieldses.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.