public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Van Dolson <rvandolson@esri.com>
To: Whoop Whouzer <tiredandnumb@gmail.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
	Chuck Lever <chuck.lever@oracle.com>,
	"J. Bruce Fields" <bfields@fieldses.org>,
	"Muntz, Daniel" <Dan.Muntz@netapp.com>,
	Peter Chacko <peterchacko35@gmail.com>,
	"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: nfs client performance while server is down
Date: Wed, 27 Jan 2010 11:30:08 -0800	[thread overview]
Message-ID: <20100127193008.GA31295@esri.com> (raw)
In-Reply-To: <d7f0b3a81001271125t6a4bd395mc77d04ef663094da@mail.gmail.com>

On Wed, Jan 27, 2010 at 11:25:39AM -0800, Whoop Whouzer wrote:
> I am not stating this is an NFS problem at all. I am not asking
> anybody to fix anything.  I asked if this issue was by design. I was
> told it wasn't (as nfs is stateless).  So, therefore I considered it
> as a bug (which I don't believe to reside in either nfs or nautilus).
> I am just trying to figure out where the problem lies.
> 
> I am not talking about implementing "disconnected NFS" mode,
> synchronisation or anything like that. There is not something
> missing, there is something not working properly, somewhere, and I'm
> trying to find out where..

My impression is that this is "by design" in that NFS mounts, when
mounted in "hard" mode (which is the case by default) will "block"
until the remote server responds.

For the most part this is a good thing.  Applications expect their
filesystem calls to behave a certain way regardless of what type of
filesystem is underneath.

In this case, it seems like Nautilus tries to open the mount point and
it just hangs... forever.  This would be expected with an NFS mount in
my view.

One way I could think of getting around it would be to ensure that the
NFS mount is mounted with "intr", and then get Nautilus to monitor how
long it takes to read a mount point and "terminate" after a timeout is
reached, perhaps flagging that mount so future accesses are quicker.

Anyways, that goes beyond the scope of NFS... and good luck convincing
the GNOME developers to make a change like that. :)

Also, even if you mount an NFS share with "intr", you can't always
guarantee that you'll be able to kill a process trying to access said
mount..... at least in my experience.

Ray

  reply	other threads:[~2010-01-27 19:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-23 15:45 nfs client performance while server is down Whoop Whouzer
     [not found] ` <d7f0b3a81001230745h18dbb14fi42f28adff0c45294-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-23 15:57   ` Peter Chacko
2010-01-23 16:27     ` Whoop Whouzer
     [not found]       ` <d7f0b3a81001230827y52727993nf60210ae610643b7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-24 21:34         ` Muntz, Daniel
     [not found]           ` <7A24DF798E223B4C9864E8F92E8C93EC0527810C-hX7t0kiaRRpT+ZUat5FNkAK/GNPrWCqfQQ4Iyu8u01E@public.gmane.org>
2010-01-24 22:03             ` Whoop Whouzer
2010-01-25  0:09             ` Whoop Whouzer
2010-01-25 16:48               ` Chuck Lever
2010-01-25 19:02                 ` Whoop Whouzer
     [not found]                   ` <d7f0b3a81001251102p5e631706jfd9f147a00487061-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 19:08                     ` Chuck Lever
     [not found]                       ` <d7f0b3a81001251138h30e25428o25db9bc8c0884636@mail.gmail.com>
     [not found]                         ` <d7f0b3a81001251138h30e25428o25db9bc8c0884636-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 19:48                           ` Whoop Whouzer
2010-01-25 21:01                           ` Chuck Lever
2010-01-25 21:18                             ` Whoop Whouzer
     [not found]                               ` <d7f0b3a81001251318k42de9be2qe54f83bbd86cabb8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 21:26                                 ` Chuck Lever
2010-01-25 23:03                                   ` Whoop Whouzer
2010-01-26 23:21                       ` J. Bruce Fields
2010-01-27  0:40                         ` Whoop Whouzer
2010-01-27 17:10                           ` J. Bruce Fields
2010-01-27 18:23                         ` Chuck Lever
2010-01-27 18:40                           ` Trond Myklebust
2010-01-27 18:47                             ` Whoop Whouzer
2010-01-27 19:09                               ` Trond Myklebust
2010-01-27 19:25                                 ` Whoop Whouzer
2010-01-27 19:30                                   ` Ray Van Dolson [this message]
2010-01-27 19:31                                   ` Peter Staubach

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=20100127193008.GA31295@esri.com \
    --to=rvandolson@esri.com \
    --cc=Dan.Muntz@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=peterchacko35@gmail.com \
    --cc=tiredandnumb@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox