All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Leonardo Chiquitto <leonardo.lists@gmail.com>
Cc: autofs@linux.kernel.org
Subject: Re: Negative caching of failed mount attempts
Date: Fri, 17 Apr 2009 10:11:16 +0800	[thread overview]
Message-ID: <49E7E544.8070609@themaw.net> (raw)
In-Reply-To: <c2d0b6ec0904161339j3573f25em3b6a1ac1168fa032@mail.gmail.com>

Leonardo Chiquitto wrote:
> Hello,
> 
> Three years ago, commit 2d753e62b8 removed kernel-side caching
> of mount attempts that returns -ENOENT. Apparently it wasn't
> working as it should.

It stopped working when 2.6 was released due to changes in the VFS.
These changes made it extremely hard to do in the kernel module. Efforts
to do it in the kernel module have been abandoned at this stage.

> I see that this feature is now implemented in the user land AutoFS 5
> daemon, but it wasn't back ported to AutoFS 4. I understand that
> version 4 is not maintained anymore, but I'd like to ask if someone
> has a patch around that implements this feature.

I guess that's what it amounts to, since all the effort is going into v5.

I have a bunch of patches for v4 from Jeff Moyer that I've not got
around to looking closely at and applying. We didn't get as far as the
negative lookup caching patch though. In fact I don't think it had been
written then.

What version of autofs?
Do you have any other patches applied to it?

Ian

  reply	other threads:[~2009-04-17  2:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 20:39 Negative caching of failed mount attempts Leonardo Chiquitto
2009-04-17  2:11 ` Ian Kent [this message]
2009-04-17 10:28   ` Leonardo Chiquitto
2009-04-17 11:40     ` Ian Kent
2009-04-17 12:29       ` Leonardo Chiquitto
2009-04-18 23:58         ` Jeff Moyer
2009-04-17 13:56   ` Jeff Moyer
2009-04-17 14:42     ` Leonardo Chiquitto

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=49E7E544.8070609@themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=leonardo.lists@gmail.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.