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...
long double nvmcap = int128_to_double(ns->nvmcap); @@ -212,7 +212,7 @@ static void json_nvme_id_ctrl(struct nvme_id_ctrl *ctrl, void (*vs)(__u8 *vs, struct json_object *root)) { struct json_object *root; struct json_array *psds;...
struct nvme_common_command { __u8 opcode; __u8 flags; __u16 command_id; __le32 nsid; __le32 cdw2[2]; __le64 metadata; union nvme_data_ptr dptr; __le32 cdw10[6]; };struct nvme_rw_command { __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...
long double nvmcap = int128_to_double(ns->nvmcap); @@ -212,7 +212,7 @@ static void json_nvme_id_ctrl(struct nvme_id_ctrl *ctrl, void (*vs)(__u8 *vs, struct json_object *root)) { struct json_object *root; struct json_array *psds;...
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 ...
lTdheefocarmrbaotnioonf CofOt2hseegemraspthoeantetrnaecttwunosraktuinrattheed acdarsboorpn,tiwonithprthoeceasdsscoarnbebde coabrbseornvmedo.vTinhgeucpawrbaornd (oFfigCuOre27sae(eAm'))s, wtohialtetrtahcetouxyngsaetnuoraf tCeOd 2csaerebmons,towrietphelthuensaadtusorarbteedd carbon, with ...