How to cope with hardware-poisoned page-cache pages
How to cope with hardware-poisoned page-cache pages
Posted May 5, 2022 17:55 UTC (Thu) by jlayton (subscriber, #31672)In reply to: How to cope with hardware-poisoned page-cache pages by willy
Parent article: How to cope with hardware-poisoned page-cache pages
Thanks. It looks like most of the callers that end up in that function do call mapping_set_error() first if the page was still dirty. I'm not sure of the exact scenario that would lead to silent data corruption, so I'd be interested to understand how that can occur.
ISTM that while we would lose the data on the page in these situations, it wouldn't be silent. You'd get an error back on the next fsync/msync. If there are any gaps in that coverage though, we should fix them.
