Re: [PATCH 05/14] libxfs: make libxfs_buf_read_map return an error code

Christoph Hellwig
2020-02-21T15:03:41Z

On Wed, Feb 19, 2020 at 05:45:01PM -0800, Darrick J. Wong wrote:
> @@ -1050,15 +1083,26 @@ libxfs_buf_read_map(struct xfs_buftarg *btp, struct xfs_buf_map *map, int nmaps,
> flags);
> else
> error = libxfs_readbufr_map(btp, bp, flags);
> + if (error == -EIO && salvage)
> + goto ok;

I understand the part about skipping the verifiers. But how does ignoring
EIO in this case fir the scheme?