All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Mike Marion <mmarion@qualcomm.com>
Cc: autofs@linux.kernel.org
Subject: Re: Seeing some 5.0.1 stop expiring mounts
Date: Thu, 19 Jul 2007 20:03:48 +0800	[thread overview]
Message-ID: <1184846628.3258.55.camel@raven.themaw.net> (raw)
In-Reply-To: <20070718213945.GA7455@cornholio.qualcomm.com>

On Wed, 2007-07-18 at 14:39 -0700, Mike Marion wrote:
> On Wed, Jul 18, 2007 at 02:46:07PM +0800, Ian Kent wrote:
> 
> > Might be worth considering going to 5.0.2, especially since you have a
> > busy site, as a nasty deadlock in the alarm handler has been fixed. 
> 
> Unfortunately, we can't.  I've since found out (through trial and error)
> that the patch:
> > > autofs-5.0.1-map-update-source-only.patch
> 
> is completely broken for us, and it appears to be part of the 5.0.2
> codebase now.

Indeed.

I think I've identified the problem but I'll need to look more closely
at it.

In the meantime it would be great if you could try this patch, in
addition to the patch above, and check if there are any other problems
with it.

The patch is against the current git repo but applies against a fairly
up to date 5.0.1 tree (it looks correct) with a small offset.

Ian

---
diff --git a/daemon/lookup.c b/daemon/lookup.c
index 70b9e02..4f2b318 100644
--- a/daemon/lookup.c
+++ b/daemon/lookup.c
@@ -325,6 +325,7 @@ static int read_file_source_instance(struct autofs_point *ap, struct map_source
 		instance->recurse = map->recurse;
 		instance->depth = map->depth;
 	}
+	instance->stale = map->stale;
 
 	return do_read_map(ap, instance, age);
 }
@@ -346,6 +347,7 @@ static int read_source_instance(struct autofs_point *ap, struct map_source *map,
 		instance->recurse = map->recurse;
 		instance->depth = map->depth;
 	}
+	instance->stale = map->stale;
 
 	return do_read_map(ap, instance, age);
 }

  parent reply	other threads:[~2007-07-19 12:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17 19:54 Seeing some 5.0.1 stop expiring mounts Mike Marion
2007-07-17 20:04 ` Mike Marion
2007-07-18  6:42   ` Ian Kent
2007-07-18  6:46 ` Ian Kent
2007-07-18 21:39   ` Mike Marion
2007-07-19 10:08     ` Ian Kent
2007-07-19 12:03     ` Ian Kent [this message]
2007-07-19 12:12     ` Ian Kent
2007-07-19 23:40       ` Mike Marion
2007-07-27  3:31         ` Ian Kent
2007-07-27 22:06           ` Mike Marion
2007-07-28  6:51             ` 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=1184846628.3258.55.camel@raven.themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=mmarion@qualcomm.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.