numam-spdk/lib/nvme
Changpeng Liu 68d3bb2de4 nvme: save separate metadata size to nvme request
Previously the SPDK NVMe driver always set PSDT to 01b for hardware SGLs
which is aligned to the Linux NVMe driver, for this case the metadata length
is not required when filling the NVMe command fields.  There is no alignment
nor granularity requirement for Data Blocks for PSDT 01b case.  And if the
drive reported that it needs dword alignment with SGL, for this case, when
using spearate metadata, it needs a length parameter to fill the SGL descriptor.

Change-Id: I56ffaada775fe66de7637dae15b509ee9556e80a
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1351
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-04-02 07:02:38 +00:00
..
Makefile lib: update so version for multiple libraries. 2020-03-18 08:02:30 +00:00
nvme_ctrlr_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme: add SGL dword alignment requirement flag when SGL is supported 2020-03-25 07:54:40 +00:00
nvme_cuse.c nvme/cuse: Don't allocate data buffers from CMB for cuse commands 2020-02-17 10:06:20 +00:00
nvme_cuse.h lib/nvme: add RPC for interacting with CUSE devices 2019-10-24 23:43:59 +00:00
nvme_fabric.c nvme: Cleanup resources when memory allocation fails 2020-03-24 07:39:19 +00:00
nvme_internal.h nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_io_msg.c lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_io_msg.h lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_ns_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns_ocssd_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns.c bdev/nvme: handle namespace resize event 2020-02-21 09:38:42 +00:00
nvme_opal_internal.h nvme/opal: don't store locking range in opal key structure 2020-04-01 01:08:39 +00:00
nvme_opal.c nvme/opal: don't store locking range in opal key structure 2020-04-01 01:08:39 +00:00
nvme_pcie.c nvme: reserve a metadata SGL entry when PSDT uses 10b 2020-04-02 07:02:38 +00:00
nvme_qpair.c nvme: fix command specific status code 2020-02-20 09:49:24 +00:00
nvme_quirks.c nvme: add quirk for a minimum io queue size 2019-12-13 11:02:04 +00:00
nvme_rdma.c nvme/rdma: Move post WRs on send/recv queue after poll CQ 2020-03-20 08:39:53 +00:00
nvme_tcp.c lib/nvme: move connect directly into alloc_io_qpair. 2020-03-17 08:23:50 +00:00
nvme_transport.c lib/nvme: move common connect code into transport shim 2020-03-06 10:29:21 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: fix issue with io queue size 2020-03-26 13:13:45 +00:00