[Samba] Can CIFS files in read only mode be cached by client?
Aaron Boxer
boxerab at gmail.com
Mon May 23 17:24:15 MDT 2011
Hello!
I am writing a Linux server, and I want to pre-fetch a number of CIFS files
and cache locally. The files are on a CIFS share mounted as read only.
I was planning on opening the file, calling
posix_fadvise(........,POSIX_FADV_WILLNEED)
on the file descriptor, and then closing the file.
Will this work? Is there a better way of doing this?
Thanks!!
Aaron
More information about the samba
mailing list