Skip to content

Commit 4bc48bd

Browse files
Add lbstm support for create-ns
Signed-off-by: Brandon Paupore <[email protected]>
1 parent 8d05597 commit 4bc48bd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/nvme/types.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1700,6 +1700,7 @@ enum nvme_lbaf_rp {
17001700
* remains fixed throughout the life of the namespace and is
17011701
* preserved across namespace and controller operations
17021702
* @lbaf: LBA Format, see &struct nvme_lbaf.
1703+
* @lbstm: Logical Block Storage Tag Mask for end-to-end protection
17031704
* @vs: Vendor Specific
17041705
*/
17051706
struct nvme_id_ns {
@@ -1743,7 +1744,8 @@ struct nvme_id_ns {
17431744
__u8 nguid[16];
17441745
__u8 eui64[8];
17451746
struct nvme_lbaf lbaf[64];
1746-
__u8 vs[3712];
1747+
__le64 lbstm;
1748+
__u8 vs[3704];
17471749
};
17481750

17491751
/**

0 commit comments

Comments
 (0)