On Wed, Mar 9, 2011 at 1:21 AM, Ian Kent <[email protected]> wrote:
> On Wed, 2011-03-09 at 12:15 +0800, Ian Kent wrote:
>> >
>> > Hello Ian,
>> >
>> > I bisected this problem today and discovered that it appeared after the
>> > following commit:
>> >
>> > commit 08aafab4c1d0ab6227c80f8cd1086ae78556a370
>> > Author: Ian Kent <[email protected]>
>> > Date:   Thu Sep 9 11:10:47 2010 +0800
>> >
>> >     autofs-5.0.5 - fix direct map not updating on reread
>> >
>> >     If the map type is explicitly specified for a map the map isn't
>> >     properly updated when a re-read is requested. This is because
>> >     the map stale flag is incorrectly cleared after after the lookup
>> >     module reads the map instead of at the completion of the update
>> >     procedure. The map stale flag should only be cleared if the map
>> >     read fails for some reason, otherwise it is updated when the
>> >     refresh is completed.
>> >
>> > Does this ring a bell? If not, I'll see if I can debug it further tomorrow.
>>
>> Not really.
>> I'm still not sure your original patch deals with the problem fully.
>>
>> Could you also have a look at and try (from kernel.org):
>> autofs-5.0.5-fix-prune-cache-valid-check.patch
>
> Although, looking again, maybe we need both patches.

Yes, I tested again with all kernel.org patches and the problem remains.

Leonardo

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to