X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fnvme.h;h=238471dd76b94f1dd063eee7449ed9e2354a6abd;hb=7f57e30f54078b36667afefdf6ea5794b6142b27;hp=9d6288c86c65bee2af78676cae10ecd70b1447c6;hpb=01a7d384d4c78f23b03f79e8002e705ea5cbceb4;p=fio.git diff --git a/engines/nvme.h b/engines/nvme.h index 9d6288c8..238471dd 100644 --- a/engines/nvme.h +++ b/engines/nvme.h @@ -88,6 +88,7 @@ enum nvme_zns_zs { struct nvme_data { __u32 nsid; __u32 lba_shift; + __u32 lba_ext; }; struct nvme_lbaf { @@ -215,17 +216,14 @@ struct nvme_dsm_range { __le64 slba; }; -int fio_nvme_trim(const struct thread_data *td, struct fio_file *f, - unsigned long long offset, unsigned long long len); - int fio_nvme_iomgmt_ruhs(struct thread_data *td, struct fio_file *f, struct nvme_fdp_ruh_status *ruhs, __u32 bytes); int fio_nvme_get_info(struct fio_file *f, __u32 *nsid, __u32 *lba_sz, - __u64 *nlba); + __u32 *ms, __u64 *nlba); int fio_nvme_uring_cmd_prep(struct nvme_uring_cmd *cmd, struct io_u *io_u, - struct iovec *iov); + struct iovec *iov, struct nvme_dsm_range *dsm); int fio_nvme_get_zoned_model(struct thread_data *td, struct fio_file *f, enum zbd_zoned_model *model);