Skip to content

Commit 7d2f9f8

Browse files
guixinliu1995keithbusch
authored andcommitted
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: Guixin Liu <kanie@linux.alibaba.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent e9869c8 commit 7d2f9f8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

include/linux/nvme.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,4 +2171,13 @@ enum nvme_pr_release_action {
21712171
NVME_PR_RELEASE_ACT_CLEAR = 1,
21722172
};
21732173

2174+
enum nvme_pr_change_ptpl {
2175+
NVME_PR_CPTPL_NO_CHANGE = 0,
2176+
NVME_PR_CPTPL_RESV = 1 << 30,
2177+
NVME_PR_CPTPL_CLEARED = 2 << 30,
2178+
NVME_PR_CPTPL_PERSIST = 3 << 30,
2179+
};
2180+
2181+
#define NVME_PR_IGNORE_KEY (1 << 3)
2182+
21742183
#endif /* _LINUX_NVME_H */

0 commit comments

Comments
 (0)