All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: Peter Staubach <staubach@redhat.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: mount.nfs: chk_mountpoint()
Date: Thu, 23 Aug 2007 16:30:23 -0400	[thread overview]
Message-ID: <46CDEE5F.5030304@oracle.com> (raw)
In-Reply-To: <46CDEA2E.10902@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1973 bytes --]

Peter Staubach wrote:
> Chuck Lever wrote:
>> Peter Staubach wrote:
>>> But your explanation makes sense, although we should be moving
>>> people away from static mounts in fstab and towards dynamic
>>> mounting via autofs.  Ian and Jeff have made autofs much, much
>>> better in recent times.  Improving autofs further to make it
>>> only mount file systems which are actually referenced would make
>>> it even better.
>>
>> I'm in great favor of autoconfiguration.  Anything that will make NFS 
>> "just work" is goodness, in my book.
>>
> 
> Is this an argument for or against autofs or these changes?

Making autofs a reliable and useful facility is a good thing.  Kudos to 
Ian and Jeff for their effort.

> The "bg" option was a hack added to speed up system booting.

I don't disagree with that assessment.

> A much better solution to the problem was autofs because it
> delayed the mounting until the file system was actually needed.

Whether or not it is a kludge, I don't think we have enough information 
about who is using it for what to blithely remove it without fanfare or 
documentation.

What alarms me more, though, is that we don't have any unit tests that 
caught this change before it went into the git repo.  This change, in 
itself, may not be terribly harmful.  But think of a minor and 
unintended change that might go in without notice, and break a lot of 
environments.

> The "bg" option can lead to applications not working correctly
> because the file system may or may not be mounted when they
> need it to be there and there is no automatic synchronization
> to block them until it is.  Autofs supplies this synchronization,
> thus once again, making it a vastly superior solution.

Some people find such enforced "synchronization" to be painful and 
annoying.  They would prefer a solution where the application is free to 
take its own recourse rather than hang indefinitely.

I think it is valid to want to have either type of behavior.

[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 290 bytes --]

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard


[-- Attachment #3: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #4: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-08-23 20:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 19:02 mount.nfs: chk_mountpoint() Chuck Lever
2007-08-23 12:50 ` Peter Staubach
2007-08-23 17:45   ` Chuck Lever
2007-08-23 18:22     ` Peter Staubach
2007-08-23 20:00       ` Chuck Lever
2007-08-23 20:12         ` Peter Staubach
2007-08-23 20:30           ` Chuck Lever [this message]
2007-08-23 20:49             ` Peter Staubach
2007-08-30 10:12           ` Frank van Maarseveen
2007-08-30 11:53             ` Peter Staubach
2007-08-30 16:01               ` Chuck Lever
2007-08-30 16:07                 ` Peter Staubach
2007-08-30 16:18                   ` Chuck Lever
2007-08-30 19:15                     ` Talpey, Thomas
2007-08-30 21:11                       ` Peter Staubach
2007-08-30 16:19                   ` J. Bruce Fields
2007-08-30 16:24                     ` Chuck Lever
2007-08-30 16:16               ` Frank van Maarseveen

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=46CDEE5F.5030304@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=staubach@redhat.com \
    /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.