All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Feist <cfeist@redhat.com>
To: raven@themaw.net
Cc: autofs@linux.kernel.org
Subject: [PATCH] small patch for documenting weighted maps
Date: Mon, 24 Jan 2005 15:48:23 -0600	[thread overview]
Message-ID: <41F56D27.1080005@redhat.com> (raw)

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

In the linux automounter if you have something like this in a map file:

/test  hosta(10):/export localhost(20):/export hostb(30):/export

the automounter will ignore the weighting and always pick the localhost. 
The Sun automounter also behaves in this way.  The patch I'm submitted 
just clarifies the documentation so the user is not surprised when it 
happens.

Thanks,
Chris

[-- Attachment #2: autofs-4.1.3-replicated-server-doc.patch --]
[-- Type: text/x-patch, Size: 718 bytes --]

--- autofs-4.1.3/README.replicated-server.orig	2005-01-24 15:26:28.609436878 -0600
+++ autofs-4.1.3/README.replicated-server	2005-01-24 15:27:57.592082878 -0600
@@ -27,7 +27,10 @@ Mutliple weighted, replicated hosts same
 Will pick lowest weighted host that responds to RPC call.  
 RPC time is not counted, only whether the call got a reply 
 at all.  Initially does a .1 second timeout, if all hosts 
-fail this, moves to 10 second timeout.
+fail this, moves to 10 second timeout.  If one of the hosts
+is localhost, the automounter will choose that regardless of
+its weight.  (This has been done to remain compatible with
+Sun's automounter)
 
 Multiple weighted, replicated hosts different (potentially) 
 paths:

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

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

             reply	other threads:[~2005-01-24 21:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-24 21:48 Chris Feist [this message]
2005-01-25  1:05 ` [PATCH] small patch for documenting weighted maps Ian Kent
2005-01-25 12:18   ` NIS maps loading Francesco P. Lovergine
2005-01-25 12:36     ` Francesco P. Lovergine
2005-01-25 15:24     ` Michael Blandford
2005-01-25 15:41       ` Francesco P. Lovergine
2005-01-25 15:37     ` Jeff Moyer
2005-01-25 15:50       ` Francesco P. Lovergine
2005-01-25 15:56         ` Francesco P. Lovergine
2005-01-25 16:19         ` Jeff Moyer
2005-01-25 16:50         ` Steinar H. Gunderson
2005-01-26 14:53           ` raven
2005-01-26 15:16             ` Steinar H. Gunderson
2005-01-26 14:49     ` raven

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=41F56D27.1080005@redhat.com \
    --to=cfeist@redhat.com \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /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.