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 | 5e5e320d361afcb4d9503354b3912b4c7a672197 (patch) | |
tree | 77b9557fe080a5e15d077d8e9fec3bae993356f7 /source3/smbd/process.c | |
parent | 74a2764726ce1047c79c7eaa84628901462a9b10 (diff) | |
download | samba-5e5e320d361afcb4d9503354b3912b4c7a672197.tar.gz samba-5e5e320d361afcb4d9503354b3912b4c7a672197.tar.bz2 samba-5e5e320d361afcb4d9503354b3912b4c7a672197.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.
(This used to be commit d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41)
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 5bf8cdb2b1..63e51dc242 100644 --- a/source3/smbd/process.c +++ b/source3/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 */ |