Heikki Linnakangas wrote:
> Dave Page wrote:
>> On Wednesday, April 8, 2009, Josh Berkus <josh@agliodbs.com> wrote:
>>> Presumably fadvise is useless on Windows. Anyone know?
>>
>> It is.
>
> cygwin supports POSIX_FADV_SEQUENTIAL (and POSIX_FADV_NORMAL to revert
> it), but not any of the other flags. It maps it to
> NtSetInformationFile() like this:
We set this in our open() wrapper in the code today. That doesn't
support changing it after the fact, of course.
//Magnus