lkml.org 
[lkml]   [2006]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/33] readahead: page flag PG_readahead
Wu Fengguang <wfg@mail.ustc.edu.cn> wrote:
>
> An new page flag PG_readahead is introduced as a look-ahead mark, which
> reminds the caller to give the adaptive read-ahead logic a chance to do
> read-ahead ahead of time for I/O pipelining.
>
> It roughly corresponds to `ahead_start' of the stock read-ahead logic.
>

This isn't a very revealing description of what this flag does.

> +#define __SetPageReadahead(page) __set_bit(PG_readahead, &(page)->flags)

uh-oh. This is extremly risky. Needs extensive justification, please.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-25 18:26    [W:0.396 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site