From: Andrew Morton <akpm@digeo.com>
To: David Howells <dhowells@redhat.com>
Cc: riel@surriel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] do_generic_file_read / readahead adjustments
Date: Wed, 16 Oct 2002 09:19:10 -0700 [thread overview]
Message-ID: <3DAD917E.B62ABDDA@digeo.com> (raw)
In-Reply-To: 30738.1034782153@warthog.cambridge.redhat.com
David Howells wrote:
>
> The attached patch does the following three things:
>
> (1) Makes the functions in mm/readahead.c only use struct file* to pass to
> readpage(). address_mapping* and file_ra_state* are used instead to keep
> track of readahead stuff.
>
> (2) Adds a new function do_generic_mapping_read() that is similar to
> do_generic_file_read(), except that it uses a mapping pointer and a
> readahead state pointer to access a file. The file* is only used to pass
> to readpage().
>
> (3) Turns do_generic_file_read() into an inline function in linux/fs.h that
> simply wraps do_generic_mapping_read().
>
Seems sensible. Is there something out there which actually uses this?
next prev parent reply other threads:[~2002-10-16 16:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 15:29 [PATCH] do_generic_file_read / readahead adjustments David Howells
2002-10-16 16:19 ` Andrew Morton [this message]
2002-10-16 16:36 ` Rik van Riel
2002-10-16 17:55 ` David Howells
2002-10-16 18:03 ` Andrew Morton
2002-10-16 18:08 ` David Howells
-- strict thread matches above, loose matches on Subject: below --
2002-10-16 18:06 dhowells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DAD917E.B62ABDDA@digeo.com \
--to=akpm@digeo.com \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@surriel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox