PG_error is not cleared after I/O errors
Subsystems (2)
PATCH 1/1 PG_error is not cleared after I/O errors
Hello,
Currently, if a device returns an I/O error, the PG_error bit is set in the page struct, but never cleared. This patch clears the bit when the page is not uptodate (and about to be read). You'll find the same fix in the 2.6 stream of the kernel.
Regards,
Jeff
mm/filemap.c renamed from mm/filemap.c.orig +2 -0
@@ -1491,6 +1491,8 @@UnlockPage (page); goto page_ok; } +/* Clear any stale I/O errors */ +ClearPageError (page); readpage:/* ... and start the actual read. The read will unlock the page. */