[PATCH 1/5] nvme: Add more command status translation
Christoph Hellwig
hch at lst.de
Mon Jan 8 07:34:36 PST 2018
On Mon, Jan 08, 2018 at 10:29:33AM -0500, Mike Snitzer wrote:
> No argument needed. Definitely needs fixing. Too many upper layers
> consider BLK_STS_NOSPC retryable (XFS, ext4, dm-thinp, etc). Which
> NVME_SC_LBA_RANGE absolutely isn't.
>
> When I backfilled NVME_SC_LBA_RANGE handling I categorized it as
> BLK_STS_TARGET. Do you have a better suggestion for how
> NVME_SC_LBA_RANGE should be categorized?
It's basically a kernel bug as it tries to access lbas that do not
exist. BLK_STS_TARGET should be fine.
More information about the Linux-nvme
mailing list