NeilBrown eab7e2e647 [PATCH] knfsd: Break the hard linkage from svc_expkey to svc_export
Current svc_expkey holds a pointer to the svc_export structure, so updates to
that structure have to be in-place, which is a wart on the whole cache
infrastruct.  So we break that linkage and just do a second lookup.

If this became a performance issue, it would be possible to put a direct link
back in which was only used conditionally.  i.e.  when an object is replaced
in the cache, we set a flag in the old object.  When dereferencing the link
from svc_expkey, if the flag is set, we drop the reference and do a fresh
lookup.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:41 -08:00
..
2006-03-24 18:23:14 +01:00
2006-03-26 08:57:00 -08:00
2006-03-24 18:42:13 +01:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:22:56 -08:00
2006-03-24 07:33:19 -08:00
2005-11-07 07:54:06 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 18:21:44 +01:00
2006-03-26 08:57:01 -08:00
2006-01-11 18:42:13 -08:00
2005-05-05 16:36:47 -07:00
2006-01-10 08:01:25 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:12:40 -08:00
2006-03-26 08:57:03 -08:00
2006-03-07 09:16:35 -08:00
2005-10-30 17:37:32 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-03-23 23:44:19 -05:00
2006-03-23 07:38:12 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:24 -08:00
2005-11-07 18:18:11 -08:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-02-17 13:59:28 -08:00
2006-03-23 07:38:12 -08:00
2006-02-11 21:41:10 -08:00
2006-03-26 08:56:55 -08:00
2005-04-16 15:20:36 -07:00