[prev in list] [next in list] [prev in thread] [next in thread]
List: cifs-protocol
Subject: [cifs-protocol] Linux: want to cache CIFS file in local file cache
From: Aaron Boxer <boxerab () gmail ! com>
Date: 2011-05-23 23:18:01
Message-ID: BANLkTi=Ewfh8FwNgUXin+Q-UOzjXur+g=A () mail ! gmail ! com
[Download RAW message or body]
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
_______________________________________________
cifs-protocol mailing list
cifs-protocol@cifs.org
https://lists.samba.org/mailman/listinfo/cifs-protocol
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic