mirror of git://sourceware.org/git/glibc.git
fields. * nscd/connections.c (inotify_fd): New variable. (nscd_init): Try to open an inotify descriptor. If successful, watch files for databases using inotify instead of having prune threads stat the files. (nscd_run_prune): Recognize clear_cache flag being set and call prune_cache appropriately. (main_loop_poll): Add inotify descriptor to wait set and handle the reported changes. (main_loop_epoll): Likewise. * nscd/cache.c (prune_cache): Don't stat files for databases if inotify is used. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (CFLAGS-connections.c): Add -DHAVE_INOTIFY. |
||
|---|---|---|
| .. | ||
| Depend | ||
| Makefile | ||
| aicache.c | ||
| cache.c | ||
| connections.c | ||
| dbg_log.c | ||
| dbg_log.h | ||
| gai.c | ||
| getgrgid_r.c | ||
| getgrnam_r.c | ||
| gethstbyad_r.c | ||
| gethstbynm3_r.c | ||
| getpwnam_r.c | ||
| getpwuid_r.c | ||
| getsrvbynm_r.c | ||
| getsrvbypt_r.c | ||
| grpcache.c | ||
| hstcache.c | ||
| initgrcache.c | ||
| mem.c | ||
| nscd-client.h | ||
| nscd.c | ||
| nscd.conf | ||
| nscd.h | ||
| nscd.init | ||
| nscd_conf.c | ||
| nscd_getai.c | ||
| nscd_getgr_r.c | ||
| nscd_gethst_r.c | ||
| nscd_getpw_r.c | ||
| nscd_getserv_r.c | ||
| nscd_helper.c | ||
| nscd_initgroups.c | ||
| nscd_proto.h | ||
| nscd_setup_thread.c | ||
| nscd_stat.c | ||
| pwdcache.c | ||
| res_hconf.c | ||
| selinux.c | ||
| selinux.h | ||
| servicescache.c | ||