[PATCH rfc v2 2/6] nvme: return nvme_error_status for sync commands failure

Sagi Grimberg
2019-08-05T18:12:20Z

> Hi Sagi,
>
> On 19-08-02 19:49:51, Sagi Grimberg wrote:
>> callers should not rely on raw nvme status, blk_status_t
>> is more appropriate.
>
> May I ask why caller should not rely on the nvme status?

Because the origin of these calls may not be nvme at all, so
a generic block status is definitely more appropriate.