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

From: Evan Green
Date: Tue Feb 26 2019 - 14:27:54 EST


On Wed, Feb 13, 2019 at 6:32 PM Martin K. Petersen
<martin.petersen@xxxxxxxxxx> wrote:
>
>
> 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>
>

Hi Jens,
I think this one at least is ready to go.
-Evan