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/include/proto.h | |
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/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a96092511f..85e00b375b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2000,7 +2000,9 @@ void sync_file(connection_struct *conn, files_struct *fsp); BOOL fname_equal(char *name1, char *name2); BOOL mangled_equal(char *name1, char *name2); -BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component, BOOL *bad_path); +void print_stat_cache_statistics(void); +BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component, + BOOL *bad_path, struct stat *pst); BOOL check_name(char *name,connection_struct *conn); BOOL scan_directory(char *path, char *name,connection_struct *conn,BOOL docache); |