[PATCH 3/9] swap: Catch pages with errors and mark as bad

2007-03-02 Thread Richard Purdie
Check for pages with errors within shrink_page_list() and if found, try to unuse them which will trigger the functions to mark the page bad. The page will then be allocated a new swap page. If a swap page write error occurs, don't disable page reclaim. Based on a patch by Nick Piggin and some of

[PATCH 3/9] swap: Catch pages with errors and mark as bad

2007-03-02 Thread Richard Purdie
Check for pages with errors within shrink_page_list() and if found, try to unuse them which will trigger the functions to mark the page bad. The page will then be allocated a new swap page. If a swap page write error occurs, don't disable page reclaim. Based on a patch by Nick Piggin and some of