lkml.org 
[lkml]   [2014]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mm readahead: Fix sys_readahead breakage by reverting 2MB limit (bug 79111)
From
On Thu, Jul 3, 2014 at 6:02 AM, Raghavendra K T
<raghavendra.kt@linux.vnet.ibm.com> wrote:
>
> However it broke sys_readahead semantics: 'readahead() blocks until the specified
> data has been read'

What? Where did you find that insane sentence? And where did you find
an application that depends on that totally insane semantics that sure
as hell was never intentional.

If this comes from some man-page, then the man-page is just full of
sh*t, and is being crazy. The whole and *only* point of readahead() is
that it does *not* block, and you can do it across multiple files.

So NAK NAK NAK. This is insane and completely wrong. And the bugzilla
is crazy too. Why would anybody think that readahead() is the same as
read()?

Linus


\
 
 \ /
  Last update: 2014-07-03 18:21    [W:0.070 / U:2.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site