Re: [PATCH 3/3] HWPOISON: improve handling/reporting of memory error on dirty pagecache

From: Andi Kleen
Date: Fri Aug 10 2012 - 19:13:01 EST


Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> writes:

> Current error reporting of memory errors on dirty pagecache has silent
> data lost problem because AS_EIO in struct address_space is cleared
> once checked.

Seems very complicated. I think I would prefer something simpler
if possible, especially unless it's proven the case is common.
It's hard to maintain rarely used error code when it's complicated.
Maybe try Fengguang's simple proposal first? That would fix other IO
errors too.

-Andi

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