Several new fields have been introduced in version 1.4 of the NVMe spec at offsets that were defined as reserved in version 1.3d of the NVMe spec. Update the definition of the nvme_id_ns data structure such that it is in sync with version 1.4 of the NVMe spec. This change preserves ba...
ns=ns_from_disk(bdev->bd_disk); #else // 在旧的内核版本中,需要通过 I/O 上下文才能获取 NVMe 命名空间结构体 structrequest_queue*q=bdev_get_queue(bdev); if(q&&q->mq_ops&&q->mq_ops->get_nvme_ns){ ns=q->mq_ops->get_nvme_ns(q,&bdev->bd_disk->part0); }else{ pr_err("Fa...
struct nvme_id_ns *id_ns) { struct json_object *root; struct json_array *lbafs; struct json_object *lbafs; int i;root = json_create_object(); @@ -4135,7 +4135,7 @@ void nvme_show_zns_report_zones(void *report, __u32 descs, static void json_nvme_id_nvmset(struct nvme_id...
__u16 command_id; __le32 nsid; __u64 rsvd2[2]; union nvme_data_ptr dptr; __u8 cns; __u8 rsvd3; __le16 ctrlid; __u32 rsvd11[5]; };#define NVME_IDENTIFY_DATA_SIZE 4096struct nvme_features { __u8 opcode; __u8 flags; ...
ts = ns->disk->integrity->tuple_size; ts = ns->disk->integrity.tuple_size; for (i = 0; i < nlb; i++, virt++, phys++) { pi = (struct t10_pi_tuple *)p; @@ -2044,8 +2044,7 @@ static int nvme_revalidate_disk(struct gendisk *disk) ns->pi_type = pi_type; blk_queue...
ns_common.h nsc_gpio.h nsproxy.h ntb.h ntb_transport.h nubus.h numa.h nvme-fc-driver.h nvme-fc.h nvme-rdma.h nvme-tcp.h nvme.h nvmem-consumer.h nvmem-provider.h nvram.h objagg.h objtool.h of.h of_address.h of_clk.h of_device.h of_dma.h of_fdt.h...
mode_select_num_blocks and mode_select_block_len in 'struct nvme_ns' are not useful. Drop them. Change-Id: I2e2b2ffdf630d51654db3698e0c7c3a21edfd2f2 Signed-off-by: Bin Meng Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 757cc4b1b2725e445a94840aa...
struct nvme_id_ns *id_ns) { struct json_object *root; struct json_array *lbafs; struct json_object *lbafs; int i;root = json_create_object(); @@ -4135,7 +4135,7 @@ void nvme_show_zns_report_zones(void *report, __u32 descs, static void json_nvme_id_nvmset(struct nvme_id...
ns_common.h nsc_gpio.h nsproxy.h ntb.h ntb_transport.h nubus.h numa.h nvme-auth.h nvme-fc-driver.h nvme-fc.h nvme-keyring.h nvme-rdma.h nvme-tcp.h nvme.h nvmem-consumer.h nvmem-provider.h nvram.h objagg.h objpool.h objtool.h objtool_types.h of.h ...
tdhiestaadnscoer.pDtioune etonetrhgeysitnrotnhge afidrsstocrapsteiosniscmapoarbeinlietygaotfivtehean1dV-hPa1s caarsbhoonrt,earnadosbovripotuiosnlodciasltadnecfoe.rmDuaetiotontohfetshterognrgapadhesonrepntieotnwcoarpkaibniltihtye oafdtshoerp1Vtio-Pn1pcraorcbeosns, caann obbevoibosuesrvloecda...