diff options
author | Jeremy Allison <jra@samba.org> | 1998-08-27 20:38:53 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-08-27 20:38:53 +0000 |
commit | d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41 (patch) | |
tree | 8f51fb0e5b4ce8b76b4b2b834b1f8aa5246daaa8 /source/smbd/process.c | |
parent | cdc38c276d8344127c9edf35f24754c098a90754 (diff) | |
download | samba-d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41.tar.gz samba-d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41.tar.xz samba-d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41.zip |
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.
Diffstat (limited to 'source/smbd/process.c')
-rw-r--r-- | source/smbd/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |