[Patch update] updated draft read cache patch

Jeremy Allison jra at samba.org
Sat Jun 21 19:18:47 GMT 2003


On Sat, Jun 21, 2003 at 02:48:42PM -0400, Dave Collier-Brown wrote:
> This was created with 
> 	cvs diff -u >all.diff
> from last night's CVS, (20 June 2003), then tortured 
> overnight with the same sucesses and failures as the 
> unpatched copy from CVS.
> 
> I added
> 	1) a belt-and-suspenders case: when the read
> 	   cache is not where the program wants to 
> 	   read, invalidate the cache as before, but now
> 	   add a seek to the new location, so the following
> 	   real_read is **sure** to read from the specified
> 	   location.
> 	2) a check to see that the file is oplocked.
> 
> I'll update regularly, and more often if requested (;-))

Cool - thanks. I haven't forgotten this I'm just still
chasing some bugs out of the ACL inheritance code (which
is *horribly* complex stuff mainly due to the behaviours
of Windows 2k clients :-( ).

Jeremy.



More information about the samba-technical mailing list