This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

persistent nscd


I've just committed a major change to nscd which implements persistent
storage of the data.  I.e., the data is not lost when the program exits.
 As part of this automatic reloading is implemented.  Instead of
discarding an entry it is reloaded from the directory service used.  If
this is not possible, the entry is kept around.

All this required major changes, especially in the memory handling since
pointers are not possible.  I implemented a specialized garbage
collection mechanism for that.

I've stress tested the code on five of our seven architectures so I'm
pretty confident it works (at least after yesterday's ppc64 change).
Still, keep an eye open for anomalies.  There will be a few more
optimizations coming in the next weeks.  I've avoided those so far since
the code should be stable first.


 Makefile      |    5
 cache.c       |  321 +++++++++++++++--------
 connections.c |  433 ++++++++++++++++++++++++++------
 grpcache.c    |  446 +++++++++++++++++++++++----------
 hstcache.c    |  724 +++++++++++++++++++++++++++-----------------------
 mem.c         |  515 +++++++++++++++++++++++++++++++++++++
 nscd.c        |   16 -
 nscd.conf     |    6
 nscd.h        |  210 +++++++++++----
 nscd_conf.c   |   43 ++-
 nscd_stat.c   |   79 +++---
 pwdcache.c    |  445 +++++++++++++++++++++++----------
 12 files changed, 2409 insertions(+), 834 deletions(-)

-- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]