Re: mmap vs fs cache

Phillip Susi
2013-03-11T15:03:28Z

On 3/11/2013 7:52 AM, Jan Kara wrote:
>> Yep, that's because it isn't implemented.
> Why do you think so? AFAICS it is implemented by setting VM_RAND_READ
> flag in the VMA and do_async_mmap_readahead() and do_sync_mmap_readahead()
> check for the flag and don't do anything if it is set...

Oh, don't know how I missed that... I was just looking for it the other
day and couldn't find any references to VM_RandomReadHint so I assumed
it hadn't been implemented.