All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Valousek <webserv@s3group.cz>
To: "autofs@linux.kernel.org" <autofs@linux.kernel.org>
Subject: Low priority question: negative cache in autofs5
Date: Fri, 05 Dec 2008 12:30:15 +0100	[thread overview]
Message-ID: <493910C7.9010308@s3group.cz> (raw)

Probably to Ian:
I am just looking in the autofs5 (from RHEL5) source. I have an indirect
nis map:
auto.master:
/appli auto.appli
/proj auto.proj

Now, auto.proj contains a wildcard entry (* nfsserver:/share/&) but
auto.appli does not.

1. Every time I try to enter (shortly after each other)
/proj/nonexistent_directory, I got this:
Dec  5 12:10:45 ara automount[3101]: rmdir_path: lstat of
/proj/nonexistent_directory failed
... why did not the negative cache save us the expensive call to lstat?


2. Every time I try to enter (shortly after each other)
/appli/nonexistent_directory, I got this:
Dec  5 12:11:41 ara automount[3101]: lookup_mount: lookup(yp): key
"nonexistent" not found in map
... again, looks like the nis daemon was consulted but the negative
cache should take the place.

Maybe I do not understand the concept of negative caching well....
Many thanks,

Ondrej

             reply	other threads:[~2008-12-05 11:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 11:30 Ondrej Valousek [this message]
2008-12-05 11:48 ` Low priority question: negative cache in autofs5 Ian Kent
2008-12-05 12:20   ` Ondrej Valousek
2008-12-05 13:10     ` Ian Kent
2008-12-05 13:30       ` Ondrej Valousek
2008-12-05 13:44         ` Ian Kent

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=493910C7.9010308@s3group.cz \
    --to=webserv@s3group.cz \
    --cc=autofs@linux.kernel.org \
    /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.