Re: [PATCH] writepage method changes

Andrew Morton (andrewm@uow.edu.au)
Thu, 10 May 2001 12:07:46 +1000


Marcelo Tosatti wrote:
>
> Well,
>
> Here is the updated version of the patch to add the "priority" argument to
> writepage().

It appears that a -EIO return from block_write_full_page() will
result in an unlock of an unlocked page in page_launder(). Splat.

What does the new writepage() argument do, and why does
it exist?

What action should the individual writepage()s take in
response to different values of `priority'?

What is the meaning of the writepage return value for
the respective values of `priority'?

When should writepage return with the page locked,
and when not?

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/