All of lore.kernel.org
 help / color / mirror / Atom feed
* Autofs Negative cache
@ 2009-09-14  7:19 Ondrej Valousek
  2009-09-14  9:03 ` Ian Kent
  0 siblings, 1 reply; 3+ messages in thread
From: Ondrej Valousek @ 2009-09-14  7:19 UTC (permalink / raw)
  To: autofs@linux.kernel.org

Hi Ian,

Can we expect someday autofs in RHEL-5 to have a working negative cache?
Seems like it still does not work in the last update (5.4):

Sep 14 09:14:57 dorado_v1 automount[16281]: 
handle_packet_missing_indirect: token 132, name test, request pid 16183
Sep 14 09:14:57 dorado_v1 automount[16281]: attempting to mount entry 
/proj/test
Sep 14 09:14:57 dorado_v1 automount[16281]: file map not found
Sep 14 09:14:57 dorado_v1 automount[16281]: lookup_mount: lookup(yp): 
looking up test
Sep 14 09:14:57 dorado_v1 automount[16281]: ioctl_send_fail: token = 132
Sep 14 09:14:57 dorado_v1 automount[16281]: failed to mount /proj/test
Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
Sep 14 09:14:58 dorado_v1 automount[16281]: 
handle_packet_missing_indirect: token 133, name test, request pid 16183
Sep 14 09:14:58 dorado_v1 automount[16281]: attempting to mount entry 
/proj/test
Sep 14 09:14:58 dorado_v1 automount[16281]: file map not found
Sep 14 09:14:58 dorado_v1 automount[16281]: lookup_mount: lookup(yp): 
looking up test
Sep 14 09:14:58 dorado_v1 automount[16281]: ioctl_send_fail: token = 133
Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
Sep 14 09:14:58 dorado_v1 automount[16281]: 
handle_packet_missing_indirect: token 134, name test, request pid 16183
Sep 14 09:14:58 dorado_v1 automount[16281]: failed to mount /proj/test
Sep 14 09:14:58 dorado_v1 automount[16281]: attempting to mount entry 
/proj/test
Sep 14 09:14:58 dorado_v1 automount[16281]: file map not found
Sep 14 09:14:58 dorado_v1 automount[16281]: lookup_mount: lookup(yp): 
looking up test
Sep 14 09:14:58 dorado_v1 automount[16281]: ioctl_send_fail: token = 134
Sep 14 09:14:58 dorado_v1 automount[16281]: failed to mount /proj/test
Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
Sep 14 09:14:58 dorado_v1 automount[16281]: 
handle_packet_missing_indirect: token 135, name test, request pid 16183

Thanks,
Ondrej

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Autofs Negative cache
  2009-09-14  7:19 Autofs Negative cache Ondrej Valousek
@ 2009-09-14  9:03 ` Ian Kent
  2009-09-14  9:45   ` Ondrej Valousek
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Kent @ 2009-09-14  9:03 UTC (permalink / raw)
  To: Ondrej Valousek; +Cc: autofs@linux.kernel.org

Ondrej Valousek wrote:
> Hi Ian,
> 
> Can we expect someday autofs in RHEL-5 to have a working negative cache?
> Seems like it still does not work in the last update (5.4):

You'll need to be a bit more specific about what is wrong.

What is your impression of what is actually happening below?

Be aware that the negative caching cannot be done in the 2.6 kernel
module so we will always get lookups coming to the daemon. Also, some
things such as "cd" always cause multiple call backs so we will see
multiple requests although the actual map lookup and mount attempt
should be eliminated. Are you saying that maybe I'm checking too late
during the call back?

> 
> Sep 14 09:14:57 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 132, name test, request pid 16183
> Sep 14 09:14:57 dorado_v1 automount[16281]: attempting to mount entry
> /proj/test
> Sep 14 09:14:57 dorado_v1 automount[16281]: file map not found
> Sep 14 09:14:57 dorado_v1 automount[16281]: lookup_mount: lookup(yp):
> looking up test
> Sep 14 09:14:57 dorado_v1 automount[16281]: ioctl_send_fail: token = 132
> Sep 14 09:14:57 dorado_v1 automount[16281]: failed to mount /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
> Sep 14 09:14:58 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 133, name test, request pid 16183
> Sep 14 09:14:58 dorado_v1 automount[16281]: attempting to mount entry
> /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: file map not found
> Sep 14 09:14:58 dorado_v1 automount[16281]: lookup_mount: lookup(yp):
> looking up test
> Sep 14 09:14:58 dorado_v1 automount[16281]: ioctl_send_fail: token = 133
> Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
> Sep 14 09:14:58 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 134, name test, request pid 16183
> Sep 14 09:14:58 dorado_v1 automount[16281]: failed to mount /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: attempting to mount entry
> /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: file map not found
> Sep 14 09:14:58 dorado_v1 automount[16281]: lookup_mount: lookup(yp):
> looking up test
> Sep 14 09:14:58 dorado_v1 automount[16281]: ioctl_send_fail: token = 134
> Sep 14 09:14:58 dorado_v1 automount[16281]: failed to mount /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
> Sep 14 09:14:58 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 135, name test, request pid 16183
> 
> Thanks,
> Ondrej
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Autofs Negative cache
  2009-09-14  9:03 ` Ian Kent
@ 2009-09-14  9:45   ` Ondrej Valousek
  0 siblings, 0 replies; 3+ messages in thread
From: Ondrej Valousek @ 2009-09-14  9:45 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs@linux.kernel.org


> You'll need to be a bit more specific about what is wrong.
>   
Ok, my fault - I thought autofs would say something like "negative cache 
hit" if the key is found in the negative cache,
After more detailed log inspection I could see that the actual mount 
requests are suppressed by the negative caching.
Sorry for the noise....

Ondrej

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-14  9:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14  7:19 Autofs Negative cache Ondrej Valousek
2009-09-14  9:03 ` Ian Kent
2009-09-14  9:45   ` Ondrej Valousek

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.