From d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 27 Aug 1998 20:38:53 +0000 Subject: This is the stat cache code - seems to work fine (needs heavy NetBench testing though.... :-). Attempts to efficiently reduce the number of stat() calls Samba does. Jeremy. --- source/smbd/process.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/smbd/process.c') diff --git a/source/smbd/process.c b/source/smbd/process.c index 5bf8cdb2b18..63e51dc242b 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -723,6 +723,10 @@ void smbd_process(void) DEBUG(0,("Reloading services after SIGHUP\n")); reload_services(False); reload_after_sighup = False; + /* + * Use this as an excuse to print some stats. + */ + print_stat_cache_statistics(); } /* automatic timeout if all connections are closed */ -- cgit