Re: Where does a process wait after requesting some data file ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Wilcox <matthew@xxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux