Larry Rosenman <ler@lerctr.org> writes:
> You might also look at Veritas' advisory stuff.
Thanks for the suggestion -- it looks like we can make use of
this. For the curious, the cache advisory API is documented here:
http://www.lerctr.org:8458/en/man/html.7/vxfsio.7.htmlhttp://www.lerctr.org:8458/en/ODM_FSadmin/fssag-9.html#MARKER-9-1
Note that unlike for posix_fadvise(), the docs for this functionality
explicitly state:
Some advisories are currently maintained on a per-file, not a per-file-descriptor, basis. This means that only one
setof advisories can be in effect for all accesses to the file. If two conflicting applications set different
advisories,both use the last advisories that were set.
-Neil