Hi Rusty,
On Wed, Jun 13, 2007 at 10:27:19AM +1000, Rusty Russell wrote:
> On Tue, 2007-06-12 at 20:07 +0800, Fengguang Wu wrote:
> > or preferably:
> >
> > pgoff_t start; /* where readahead started */
> > unsigned long size;/* # of readahead pages */
> >
On Tue, 2007-06-12 at 20:07 +0800, Fengguang Wu wrote:
> Hi Rusty,
Hi Fengguang,
> or preferably:
>
> pgoff_t start; /* where readahead started */
> unsigned long size;/* # of readahead pages */
> unsigned long async_size; /* do asynchronous r
Hi Rusty,
On Tue, Jun 12, 2007 at 01:30:50PM +1000, Rusty Russell wrote:
> On Thu, 2007-05-17 at 06:47 +0800, Fengguang Wu wrote:
> > /*
> > * Track a single file's readahead state
> > + *
> > + * #|==#==|
> > + * ^
On Thu, 2007-05-17 at 06:47 +0800, Fengguang Wu wrote:
> /*
> * Track a single file's readahead state
> + *
> + * #|==#==|
> + * ^^ ^ ^
> + * file_ra_state.la_index.ra
Extend struct file_ra_state to support the on-demand readahead logic.
Also define some helpers for it.
Signed-off-by: Fengguang Wu <[EMAIL PROTECTED]>
---
include/linux/fs.h | 64 +++
mm/readahead.c | 19
2 files changed, 83 insertions
5 matches
Mail list logo