Commit 7d2f9f87 authored by Guixin Liu's avatar Guixin Liu Committed by Keith Busch
Browse files

nvme: introduce change ptpl and iekey definition



This is for the next tuning pr code more readble patch, make
linux/nvme.h's changes separately.

Signed-off-by: default avatarGuixin Liu <kanie@linux.alibaba.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent e9869c85
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2171,4 +2171,13 @@ enum nvme_pr_release_action {
	NVME_PR_RELEASE_ACT_CLEAR		= 1,
};

enum nvme_pr_change_ptpl {
	NVME_PR_CPTPL_NO_CHANGE			= 0,
	NVME_PR_CPTPL_RESV			= 1 << 30,
	NVME_PR_CPTPL_CLEARED			= 2 << 30,
	NVME_PR_CPTPL_PERSIST			= 3 << 30,
};

#define NVME_PR_IGNORE_KEY (1 << 3)

#endif /* _LINUX_NVME_H */