Re: [PATCH] nvme-core: fix io interrupt when work with dm-multipah
From: Keith Busch <kbusch@kernel.org>
Date: 2020-08-06 14:26:38
From: Keith Busch <kbusch@kernel.org>
Date: 2020-08-06 14:26:38
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. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme