linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Error handling
@ 2002-12-05 13:20 Anil Kumar Nanduri
  0 siblings, 0 replies; only message in thread
From: Anil Kumar Nanduri @ 2002-12-05 13:20 UTC (permalink / raw)
  To: linux-mm

Hi All,
    While I am browsing the page_launder code, I found an interesting scenario
    which is not considered in 2.4-7 kernel, I do not know about other kernels(2.5).

    The following is the scenario....
    As page launder initiates disk transfers using submit_bh as part of cleaning
    inactive dirty pages, if that disk I/O fails, drivers generally call "buffer_IO_error"
    which will ultimately set the page_error flag for that page.

    As the page launder in its next pass or in the same pass(if the disk i/o is fast enough)
    tries to move this page into the clean list without checking page-error flag. This is fine
    with file's data, but not with swap pages.

    Incase of swap pages the ideal thing would be not to move that page to inactive list
    if the disk I/O for that block fails which is not happening currently.

    Is this a BUG?


Regards,
-anil.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-05 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 13:20 Error handling Anil Kumar Nanduri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox