Experimental read cache patches, part 1 of 4
Dave Collier-Brown
davec-b at rogers.com
Thu May 29 02:02:55 GMT 2003
This is the output of patch -ugh run on smb.h, on a copy
of SAMBA_3_0 from cvs.
--dave
--- smb.old.h Tue May 27 20:04:23 2003
+++ smb.h Wed May 28 21:13:48 2003
@@ -365,6 +365,7 @@ typedef struct write_cache
size_t alloc_size;
size_t data_size;
char *data;
+ char *at; /* Used only in read buffers. */
} write_cache;
typedef struct
@@ -393,6 +394,7 @@ typedef struct files_struct
uint16 vuid;
write_bmpx_struct *wbmpx_ptr;
write_cache *wcp;
+ write_cache *rcp; /* Read cache. */
struct timeval open_time;
int share_mode;
uint32 desired_access;
More information about the samba-technical
mailing list