VFS imlpementation and caching?

Brad Sahr bsahr at macromedia.com
Thu Aug 17 20:19:13 GMT 2000

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.

More information about the samba-technical mailing list