numam-spdk/lib/nvme
Niklas Cassel 1f49ee235f nvme: only reassign start_valid if we fetched a new SGE
For a SGL using PRPs, there is always an alignment check of the start
address in the beginning of the loop. This is stored in start_valid.

If the start is indeed valid, we might fetch a new SGE,
and then perform a second alignment check on this new SGE.

However, this second alignment check is done unconditionally,
meaning that for the last SGE in a request, we check if the
same start address is aligned twice.

Only perform the second alignment check if we actually fetched
a new SGE.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Change-Id: I9df8038c650b0879f838d1d9d895e8dd7172840d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6493
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2021-02-25 10:25:39 +00:00
..
Makefile nvme: Add the interface to get the optimal polling group 2021-02-04 08:30:54 +00:00
nvme_ctrlr_cmd.c lib/nvme: add two async API for Directive Send and Directive Receive. 2021-01-20 16:27:34 +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 lib/nvme: Adding support for PMR Identification 2021-02-11 08:40:48 +00:00
nvme_cuse.c lib/env_dpdk: Change the location of lock files from /tmp to /var/tmp 2020-11-17 08:25:31 +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/fabric: Make connect related logs more verbose 2021-02-17 10:18:05 +00:00
nvme_internal.h nvme: add support for ZNS zone append vector variant 2021-02-17 10:17:22 +00:00
nvme_io_msg.c lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_io_msg.h lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_ns_cmd.c nvme: only reassign start_valid if we fetched a new SGE 2021-02-25 10:25:39 +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 nvme: account for PRACT when calculating max sectors per transfer 2021-02-10 08:44:54 +00:00
nvme_opal_internal.h nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
nvme_opal.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
nvme_pcie_common.c nvme/pcie: move the common IO path APIs to nvme_pcie_common.c 2021-01-26 16:30:10 +00:00
nvme_pcie_internal.h nvme/pcie: move the common IO path APIs to nvme_pcie_common.c 2021-01-26 16:30:10 +00:00
nvme_pcie.c nvme: add set_nvme_pcie_set_hotplug_filter 2021-02-09 11:27:19 +00:00
nvme_poll_group.c nvme: Add the interface to get the optimal polling group 2021-02-04 08:30:54 +00:00
nvme_qpair.c nvme: add spdk_nvme_qpair_get_id 2021-02-17 10:17:43 +00:00
nvme_quirks.c nvme: add NO_SGL_FOR_DSM quirk for Intel P55XX SSDs 2021-01-22 08:16:53 +00:00
nvme_rdma.c nvme/rdma: Fix rdma ctrlr creating qpair memory leak 2021-02-04 08:41:33 +00:00
nvme_tcp.c nvme/tcp: Add the implementation to get the optimal polling group 2021-02-04 08:30:54 +00:00
nvme_transport.c nvme: Add the interface to get the optimal polling group 2021-02-04 08:30:54 +00:00
nvme_uevent.c lib/nvme: Add error handler for parse_event 2020-11-17 08:25:31 +00:00
nvme_uevent.h nvme: read all uevents 2020-08-24 07:38:33 +00:00
nvme_vfio_user.c nvme/pcie: move the common IO path APIs to nvme_pcie_common.c 2021-01-26 16:30:10 +00:00
nvme_zns.c nvme: add function to get ZNS max active zones 2021-02-24 13:06:32 +00:00
nvme.c nvme: add a new custom transport SPDK_NVME_TRANSPORT_VFIOUSER 2021-01-21 05:00:18 +00:00
spdk_nvme.map nvme: add function to get ZNS max active zones 2021-02-24 13:06:32 +00:00