[PATCH] nvme-core: fix io interrupt when work with dm-multipah
Keith Busch
kbusch at kernel.org
Thu Aug 6 10:26:25 EDT 2020
On Thu, Aug 06, 2020 at 01:52:42PM +0800, Chao Leng wrote:
> NVME_SC_LBA_RANGE should failfast, because retry can not success.
The DNR bit is how NVMe conveys such things.
> NVME_SC_NS_NOT_READY may retry success, but the probality is very low.
> NVME_SC_CMD_INTERRUPTED need retry, according to protocol define, retry will success.
If the upper layers set a request such that "noretry" is true, that's
the behavior you're going to get. Sprinkling special exceptions around
is not a good idea.
More information about the Linux-nvme
mailing list