Commit d8a39cae authored by Matias Bjørling's avatar Matias Bjørling Committed by Jens Axboe

lightnvm: remove mlc pairs structure

The known implementations of the 1.2 specification, and upcoming 2.0
implementation all expose a sequential list of pages to write.
Remove the data structure, as it is no longer needed.
Signed-off-by: default avatarMatias Bjørling <mb@lightnvm.io>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 76758390
...@@ -115,17 +115,6 @@ struct nvme_nvm_command { ...@@ -115,17 +115,6 @@ struct nvme_nvm_command {
}; };
}; };
#define NVME_NVM_LP_MLC_PAIRS 886
struct nvme_nvm_lp_mlc {
__le16 num_pairs;
__u8 pairs[NVME_NVM_LP_MLC_PAIRS];
};
struct nvme_nvm_lp_tbl {
__u8 id[8];
struct nvme_nvm_lp_mlc mlc;
};
struct nvme_nvm_id_group { struct nvme_nvm_id_group {
__u8 mtype; __u8 mtype;
__u8 fmtype; __u8 fmtype;
...@@ -149,8 +138,7 @@ struct nvme_nvm_id_group { ...@@ -149,8 +138,7 @@ struct nvme_nvm_id_group {
__le32 mpos; __le32 mpos;
__le32 mccap; __le32 mccap;
__le16 cpar; __le16 cpar;
__u8 reserved[10]; __u8 reserved[906];
struct nvme_nvm_lp_tbl lptbl;
} __packed; } __packed;
struct nvme_nvm_addr_format { struct nvme_nvm_addr_format {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment