From: Francis Moreau <francis.moro@gmail.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Where does a process wait after requesting some data file ?
Date: Sat, 17 Jan 2009 23:07:43 +0100 [thread overview]
Message-ID: <m2eiz1vb68.fsf@gmail.com> (raw)
In-Reply-To: <20090117210617.GA30719@parisc-linux.org> (Matthew Wilcox's message of "Sat\, 17 Jan 2009 14\:06\:18 -0700")
Matthew Wilcox <matthew@wil.cx> writes:
> On Fri, Jan 16, 2009 at 05:30:12PM +0100, Francis Moreau wrote:
>> > As the comment says, when the read finishes, it will unlock the page
>> > and the reader will continue.
>>
>> I expect that the comment you're talking about is this one in
>> do_generic_file_read():
>>
>> page_not_up_to_date:
>> /* Get exclusive access to the page ... */
>
> I meant this one:
>
> readpage:
> /* Start the actual read. The read will unlock the page. */
>
Well, if I read the code correctly, this is executed if
page_cache_sync_readahead() failed which is not the 'normal' path.
Thanks
--
Francis
prev parent reply other threads:[~2009-01-17 22:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 13:50 Where does a process wait after requesting some data file ? Francis Moreau
2009-01-15 14:00 ` Matthew Wilcox
2009-01-15 16:20 ` Manish Katiyar
2009-01-15 16:54 ` Matthew Wilcox
2009-01-15 16:56 ` Manish Katiyar
2009-01-16 16:30 ` Francis Moreau
2009-01-17 21:06 ` Matthew Wilcox
2009-01-17 22:07 ` Francis Moreau [this message]
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=m2eiz1vb68.fsf@gmail.com \
--to=francis.moro@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=matthew@wil.cx \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.