On Fri, May 26, 2023 at 08:46:44AM +0900, Damien Le Moal wrote: > iomap_read_folio() or iomap_finish_folio_read() -> folio_set_error(), which sets > PG_error. Then filemap_read_folio() will see !folio_test_uptodate(folio) and end > up returning -EIO. So if there was an IO and it failed, we always get EIO, > regardless of the actual reason for the IO failure. Right ? Don't rely on that. I have plans for returning the correct error. Really we need a function that knows whether an errno is transient or reportable.