Re: [PATCH v2 1/2] loop: Report EOPNOTSUPP properly

From: Martin K. Petersen
Date: Wed Feb 13 2019 - 21:32:17 EST



Evan,

> Properly plumb out EOPNOTSUPP from loop driver operations, which may
> get returned when for instance a discard operation is attempted but
> not supported by the underlying block device. Before this change,
> everything was reported in the log as an I/O error, which is scary and
> not helpful in debugging.

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

--
Martin K. Petersen Oracle Linux Engineering