All of lore.kernel.org
 help / color / mirror / Atom feed
* mount.nfs: chk_mountpoint()
@ 2007-08-22 19:02 Chuck Lever
  2007-08-23 12:50 ` Peter Staubach
  0 siblings, 1 reply; 18+ messages in thread
From: Chuck Lever @ 2007-08-22 19:02 UTC (permalink / raw)
  To: Linux NFS mailing list

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

Hi all-

The recent addition of the chk_mountpoint() function in 
utils/mount/mount.c in nfs-utils commit 3b55934b has broken a particular 
behavior of background mounts.

nfs(5) states that, if the "bg" option is specified, "A missing mount 
point is treated as a timeout, to allow for nested NFS mounts."

If I try mounting an NFS share onto a non-existent directory while using 
the "bg" option, I now get an immediate failure:

   mount.nfs: mount point /mnt/nothere does not exist

instead of the mount backgrounding itself to wait for /mnt/nothere to 
show up.  This is because chk_mountpoint() is causing the mount request 
to fail immediately.

Is the documented bg retry behavior still desirable?

[-- 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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2007-08-30 21:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.