VFS imlpementation and caching?

Jeremy Allison jeremy at valinux.com
Fri Aug 18 17:01:26 GMT 2000


Brad Sahr wrote:
> 
> I've been experimenting with Samba's VFS feature.
> I found yesterday that my VFS write() function is not
> getting called (either does fsync()).
> 
> On the other hand, lseek(), read(), stat(), and other operations
> ARE called, so the VFS is working.
> 
> BTW, this is a 'null' VFS that simply logs each operation
> called within the VFS.
> 
> Can someone point me to the location in the code where
> the server would be writing data to disk on behalf of an
> SMB client? Is this write_file() in fileio.c? If so, it
> looks like the VFS will be bypassed.

Yes, that's a vfs bug. I'll fix it, thanks.,

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list