read_cache_page "asynchronous" failures

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

 



I see several instances of code like below scattered throughout the
kernel. This is a good example:

page=read_cache_page(mapping,0,(filler_t *)mapping->a_ops->readpage,NULL);
dentry_dst=(struct dentry *)page;
if (IS_ERR(page))
    goto out;
wait_on_page_locked(page);
if (!PageUptodate(page))
    goto async_fail; // <<--- This I don't understand...

What events can lead to read_cache_page returning !PageUptodate? My goal
will be to try to exercise a similar handler to test some code.

--
Darrin

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux