History log of /spdk/test/unit/lib/bdev/nvme/bdev_nvme.c/ (Results 151 – 175 of 221)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
6d2caa6530-Aug-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Include hostid into ctrlr_opts when calling bdev_nvme_create()

Following the last patch, include hostid into ctrlr_opts rather than
passing it as a parameter for bdev_nvme_create().

Sign

bdev/nvme: Include hostid into ctrlr_opts when calling bdev_nvme_create()

Following the last patch, include hostid into ctrlr_opts rather than
passing it as a parameter for bdev_nvme_create().

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I0d04db1c5767ec76a9a7cd255c3a8d56b0b8f583
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9344
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>

show more ...

d409971b30-Aug-2021 Ben Walker <benjamin.walker@intel.com>

bdev/nvme: Remove common.h/common.c

This only existed to share code between OCSSD and regular NVM
namespaces. Now OCSSD is gone, so just merge the files into bdev_nvme.

Change-Id: Idb73cc05d67144de

bdev/nvme: Remove common.h/common.c

This only existed to share code between OCSSD and regular NVM
namespaces. Now OCSSD is gone, so just merge the files into bdev_nvme.

Change-Id: Idb73cc05d67144de5dd20af8db24c8f6974d10a7
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9337
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>

show more ...

a8b0293026-Aug-2021 Ben Walker <benjamin.walker@intel.com>

bdev/nvme: Don't rely on knowing ctrlr->num_ns in
nvme_ctrlr_populate_namespaces

Avoid relying on this number. Different targets have interpreted its
meaning in different ways and it cannot be used

bdev/nvme: Don't rely on knowing ctrlr->num_ns in
nvme_ctrlr_populate_namespaces

Avoid relying on this number. Different targets have interpreted its
meaning in different ways and it cannot be used anymore in practice. It
may also be very, very large.

Change-Id: I94e8eae49d6ccdbd8be302b30a120d89242b6d39
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9316
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>

show more ...

050346e025-Aug-2021 Ben Walker <benjamin.walker@intel.com>

bdev/nvme: Add accessors for getting namespaces

Try to use these accessors instead of directly using the namespaces
array. This will make changing the data structure easier later on.

Change-Id: I33

bdev/nvme: Add accessors for getting namespaces

Try to use these accessors instead of directly using the namespaces
array. This will make changing the data structure easier later on.

Change-Id: I3367d0e0065894f3aa199ed1698d27976b4cbbb5
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9315
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

show more ...

282b8b7025-Aug-2021 Ben Walker <benjamin.walker@intel.com>

bdev/nvme: Don't allocate inactive namespaces

If the number of namespaces is very large, this can cause excessive
memory allocation. This is especially true because when the number of
namespaces is

bdev/nvme: Don't allocate inactive namespaces

If the number of namespaces is very large, this can cause excessive
memory allocation. This is especially true because when the number of
namespaces is large, it is almost always very sparsely populated.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Change-Id: I27d94956c222ae3c49c6a7422164ae3a8ec8d963
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9302
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...

6e5d603220-Aug-2021 Jim Harris <james.r.harris@intel.com>

bdev/nvme: use spdk_nvme_ctrlr_prepare_for_reset()

When preparing for a reset, use this new call to tell
the driver to avoid sending DELETE_CQ/SQ commands to a
PCIe controller when they aren't neede

bdev/nvme: use spdk_nvme_ctrlr_prepare_for_reset()

When preparing for a reset, use this new call to tell
the driver to avoid sending DELETE_CQ/SQ commands to a
PCIe controller when they aren't needed.

Fixes issue #2073.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9ebb7d5c3f7cbb1c3192f162f32edbbea41acde1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9250
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Matt Dumm <matt.dumm@hpe.com>
Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com>

show more ...


/spdk/CHANGELOG.md
/spdk/app/spdk_top/spdk_top.c
/spdk/doc/jsonrpc.md
/spdk/include/spdk/nvme.h
/spdk/include/spdk/nvmf.h
/spdk/include/spdk/nvmf_transport.h
/spdk/include/spdk/scheduler.h
/spdk/include/spdk_internal/event.h
/spdk/lib/event/Makefile
/spdk/lib/event/app.c
/spdk/lib/event/app_rpc.c
/spdk/lib/event/reactor.c
/spdk/lib/event/scheduler_static.c
/spdk/lib/event/spdk_event.map
/spdk/lib/nvme/nvme_ctrlr.c
/spdk/lib/nvme/nvme_cuse.c
/spdk/lib/nvme/nvme_internal.h
/spdk/lib/nvme/nvme_pcie_common.c
/spdk/lib/nvme/nvme_pcie_internal.h
/spdk/lib/nvme/spdk_nvme.map
/spdk/lib/nvmf/ctrlr.c
/spdk/lib/nvmf/nvmf.c
/spdk/lib/nvmf/nvmf_internal.h
/spdk/lib/nvmf/nvmf_rpc.c
/spdk/lib/nvmf/subsystem.c
/spdk/lib/nvmf/tcp.c
/spdk/lib/nvmf/transport.c
/spdk/lib/nvmf/vfio_user.c
/spdk/lib/rocksdb/env_spdk.cc
/spdk/lib/thread/thread.c
/spdk/mk/spdk.lib.mk
/spdk/mk/spdk.lib_deps.mk
/spdk/mk/spdk.modules.mk
/spdk/module/Makefile
/spdk/module/bdev/nvme/bdev_nvme.c
/spdk/module/bdev/nvme/common.c
/spdk/module/bdev/nvme/common.h
/spdk/module/event/subsystems/Makefile
/spdk/module/event/subsystems/scheduler/Makefile
/spdk/module/event/subsystems/scheduler/scheduler.c
/spdk/module/scheduler/Makefile
/spdk/module/scheduler/dpdk_governor/Makefile
/spdk/module/scheduler/dpdk_governor/dpdk_governor.c
/spdk/module/scheduler/gscheduler/Makefile
/spdk/module/scheduler/gscheduler/gscheduler.c
/spdk/module/scheduler/scheduler_dynamic/Makefile
/spdk/module/scheduler/scheduler_dynamic/scheduler_dynamic.c
/spdk/module/sock/uring/uring.c
/spdk/rpmbuild/rpm-deps.sh
/spdk/rpmbuild/rpm.sh
/spdk/scripts/bash-completion/spdk
/spdk/scripts/perf/nvmf/run_nvmf.py
/spdk/scripts/pkgdep.sh
/spdk/scripts/pkgdep/common.sh
/spdk/scripts/rpc.py
/spdk/scripts/rpc/nvmf.py
/spdk/test/common/autotest_common.sh
/spdk/test/event/scheduler/Makefile
/spdk/test/json_config/clear_config.py
/spdk/test/json_config/config_filter.py
/spdk/test/nvme/cuse/cuse.c
/spdk/test/unit/lib/Makefile
bdev_nvme_ut.c
/spdk/test/unit/lib/event/reactor.c/reactor_ut.c
/spdk/test/unit/lib/nvme/nvme_ctrlr.c/nvme_ctrlr_ut.c
/spdk/test/unit/lib/nvme/nvme_cuse.c/nvme_cuse_ut.c
/spdk/test/unit/lib/nvmf/ctrlr.c/ctrlr_ut.c
/spdk/test/unit/lib/nvmf/nvmf.c/nvmf_ut.c
/spdk/test/unit/lib/nvmf/rdma.c/rdma_ut.c
/spdk/test/unit/lib/nvmf/subsystem.c/subsystem_ut.c
/spdk/test/unit/lib/nvmf/tcp.c/tcp_ut.c
/spdk/test/unit/lib/nvmf/transport.c/transport_ut.c
/spdk/test/unit/lib/rpc/Makefile
/spdk/test/unit/lib/rpc/rpc.c/.gitignore
/spdk/test/unit/lib/rpc/rpc.c/Makefile
/spdk/test/unit/lib/rpc/rpc.c/rpc_ut.c
/spdk/test/unit/unittest.sh
d39c444327-Aug-2021 Ben Walker <benjamin.walker@intel.com>

bdev/nvme: Remove OCSSD support

As far as we're aware, this is not in use by anyone. OCSSD has largely
been replaced by ZNS and no OCSSD drives made it to the market.

Change-Id: I020ee277da5292f8c4

bdev/nvme: Remove OCSSD support

As far as we're aware, this is not in use by anyone. OCSSD has largely
been replaced by ZNS and no OCSSD drives made it to the market.

Change-Id: I020ee277da5292f8c4777f224acafd87586f8238
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9328
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>

show more ...

9a3939bf26-Aug-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Include hostnqn into ctrlr_opts when calling bdev_nvme_create()

bdev_nvme_create() is called only by a single caller and hostnqn is
just copied to ctrlr_opts even if it is passed separate

bdev/nvme: Include hostnqn into ctrlr_opts when calling bdev_nvme_create()

bdev_nvme_create() is called only by a single caller and hostnqn is
just copied to ctrlr_opts even if it is passed separately.

Hence include hostnqn into ctrlr_opts rather than passing it as a
parameter for bdev_nvme_create().

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I75b640bcecefa94950b0c19936fab0571c428125
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9332
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>

show more ...

efbab14918-Aug-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Separate attach_cb between creating ctrlr and setting failover

The NVMe bdev module will have two similar features, multipath and
failover when it supports multipath.

Take a case that we

bdev/nvme: Separate attach_cb between creating ctrlr and setting failover

The NVMe bdev module will have two similar features, multipath and
failover when it supports multipath.

Take a case that we add two different trids with the same name by the
bdev_nvme_attach_controller RPC as an example.

The failover adds secondary trid to an existing nvme_ctrlr. The multipath
feature creates another nvme_ctrlr and adds it to the same nvme_bdev_ctrlr
which has an existing nvme_ctrlr.

We want to use bdev_nvme_attach_controller for both failover and multipath.
To do it cleanly, separate callback to spdk_nvme_connect_async() between
creating ctrlr and setting failover.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Id9bc175af6201cdd74e12d4903fc81afe4f91189
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9225
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>

show more ...


/spdk/CHANGELOG.md
/spdk/README.md
/spdk/app/spdk_top/spdk_top.c
/spdk/configure
/spdk/deprecation.md
/spdk/doc/README.md
/spdk/doc/accel_fw.md
/spdk/doc/bdev.md
/spdk/doc/bdevperf.md
/spdk/doc/blob.md
/spdk/doc/blobfs.md
/spdk/doc/concurrency.md
/spdk/doc/containers.md
/spdk/doc/event.md
/spdk/doc/ftl.md
/spdk/doc/gdb_macros.md
/spdk/doc/getting_started.md
/spdk/doc/idxd.md
/spdk/doc/index.md
/spdk/doc/ioat.md
/spdk/doc/iscsi.md
/spdk/doc/jsonrpc.md
/spdk/doc/libraries.md
/spdk/doc/lvol.md
/spdk/doc/memory.md
/spdk/doc/notify.md
/spdk/doc/nvme.md
/spdk/doc/nvmf.md
/spdk/doc/nvmf_tracing.md
/spdk/doc/overview.md
/spdk/doc/peer_2_peer.md
/spdk/doc/rpm.md
/spdk/doc/shfmt.md
/spdk/doc/spdk_top.md
/spdk/doc/system_configuration.md
/spdk/doc/template_pg.md
/spdk/doc/userspace.md
/spdk/doc/vagrant.md
/spdk/doc/vhost.md
/spdk/doc/vhost_processing.md
/spdk/doc/virtio.md
/spdk/doc/vmd.md
/spdk/dpdk
/spdk/dpdkbuild/Makefile
/spdk/examples/bdev/fio_plugin/README.md
/spdk/examples/nvme/fio_plugin/README.md
/spdk/include/spdk/nvme.h
/spdk/include/spdk/nvmf_transport.h
/spdk/include/spdk_internal/nvme_tcp.h
/spdk/lib/env_dpdk/env.mk
/spdk/lib/nvme/nvme.c
/spdk/lib/nvme/nvme_ctrlr.c
/spdk/lib/nvme/nvme_fabric.c
/spdk/lib/nvme/nvme_internal.h
/spdk/lib/nvme/nvme_pcie_common.c
/spdk/lib/nvme/nvme_qpair.c
/spdk/lib/nvme/nvme_tcp.c
/spdk/lib/nvme/spdk_nvme.map
/spdk/lib/nvmf/Makefile
/spdk/lib/nvmf/ctrlr.c
/spdk/lib/nvmf/vfio_user.c
/spdk/mdl_rules.rb
/spdk/module/bdev/lvol/vbdev_lvol.c
/spdk/module/bdev/nvme/bdev_nvme.c
/spdk/module/bdev/rbd/bdev_rbd.c
/spdk/scripts/check_format.sh
/spdk/scripts/pkgdep/freebsd.sh
/spdk/test/app/fuzz/iscsi_fuzz/README.md
/spdk/test/app/fuzz/nvme_fuzz/README.md
/spdk/test/app/fuzz/vhost_fuzz/README.md
/spdk/test/common/lib/nvme/common_stubs.h
/spdk/test/external_code/test_make.sh
bdev_nvme_ut.c
/spdk/test/unit/lib/bdev/vbdev_lvol.c/vbdev_lvol_ut.c
/spdk/test/unit/lib/nvme/nvme_ctrlr.c/nvme_ctrlr_ut.c
/spdk/test/unit/lib/nvme/nvme_fabric.c/nvme_fabric_ut.c
/spdk/test/unit/lib/nvme/nvme_pcie_common.c/nvme_pcie_common_ut.c
/spdk/test/unit/lib/nvme/nvme_tcp.c/nvme_tcp_ut.c
/spdk/test/unit/lib/nvmf/Makefile
/spdk/test/unit/lib/nvmf/subsystem.c/subsystem_ut.c
/spdk/test/unit/lib/nvmf/transport.c/Makefile
/spdk/test/unit/lib/nvmf/transport.c/transport_ut.c
/spdk/test/unit/unittest.sh
511fe15510-Aug-2021 Tomasz Zawadzki <tomasz.zawadzki@intel.com>

lib/bdev: added spdk_bdev_module_fini_done()

Callback for bdev modules is called 'module_fini',
meanwhile after its execution bdev modules were to call
'spdk_bdev_module_finish_done()'.

This functi

lib/bdev: added spdk_bdev_module_fini_done()

Callback for bdev modules is called 'module_fini',
meanwhile after its execution bdev modules were to call
'spdk_bdev_module_finish_done()'.

This function carries incorrect name, so it was deprecated
and replaced with 'spdk_bdev_module_fini_done()'.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I9a12dff746ea8b4b1570a3794470f7b24e29003e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9148
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
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: Changpeng Liu <changpeng.liu@intel.com>

show more ...

1763a12619-Aug-2021 Jim Harris <james.r.harris@intel.com>

test: optimize unit test .gitignore files

Just add a single .gitignore file in test/unit
that covers *_ut. That allows us to eliminate
100 .gitignore files in the test/unit directory
hierarchy.

Si

test: optimize unit test .gitignore files

Just add a single .gitignore file in test/unit
that covers *_ut. That allows us to eliminate
100 .gitignore files in the test/unit directory
hierarchy.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ia190587b4d5c6f1847471be27550cbfb843dc01e

Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9235
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...

8b21208109-Jan-2021 Alexey Marchuk <alexeymar@mellanox.com>

bdev_nvme: Use new extended API

The new API is used if bdev ext_opts is not NULL.

Change-Id: I414b5d19bff54114d6708efed89ba19b5955f56a
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewe

bdev_nvme: Use new extended API

The new API is used if bdev ext_opts is not NULL.

Change-Id: I414b5d19bff54114d6708efed89ba19b5955f56a
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6271
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot

show more ...

c3a5848906-Aug-2021 Alexey Marchuk <alexeymar@mellanox.com>

bdev: Add API to get SPDK memory domains used by bdev

Change-Id: Ic9f42eff59bdc4c8c6e73deb76b3eecfc04f80a8
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/

bdev: Add API to get SPDK memory domains used by bdev

Change-Id: Ic9f42eff59bdc4c8c6e73deb76b3eecfc04f80a8
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6268
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>

show more ...


/spdk/.github/ISSUE_TEMPLATE/bug_report.md
/spdk/.github/ISSUE_TEMPLATE/intermittent_failure.md
/spdk/CHANGELOG.md
/spdk/CONFIG
/spdk/Makefile
/spdk/app/spdk_top/spdk_top.c
/spdk/autobuild.sh
/spdk/configure
/spdk/deprecation.md
/spdk/doc/accel_fw.md
/spdk/doc/bdev.md
/spdk/doc/containers.md
/spdk/doc/ftl.md
/spdk/doc/iscsi.md
/spdk/doc/jsonrpc.md
/spdk/doc/jsonrpc_proxy.md
/spdk/doc/lvol.md
/spdk/doc/nvme.md
/spdk/doc/nvmf.md
/spdk/doc/overview.md
/spdk/doc/spdk_top.md
/spdk/doc/spdkcli.md
/spdk/doc/usdt.md
/spdk/doc/vhost_processing.md
/spdk/dpdk
/spdk/dpdkbuild/Makefile
/spdk/examples/accel/perf/accel_perf.c
/spdk/examples/blob/cli/README.md
/spdk/examples/nvme/abort/abort.c
/spdk/examples/nvme/perf/perf.c
/spdk/include/spdk/bdev.h
/spdk/include/spdk/bdev_module.h
/spdk/include/spdk/dma.h
/spdk/include/spdk/json.h
/spdk/include/spdk/log.h
/spdk/include/spdk/nvme.h
/spdk/include/spdk/nvme_spec.h
/spdk/include/spdk/nvmf.h
/spdk/include/spdk/nvmf_transport.h
/spdk/include/spdk/version.h
/spdk/lib/Makefile
/spdk/lib/accel/accel_engine.c
/spdk/lib/bdev/Makefile
/spdk/lib/bdev/bdev.c
/spdk/lib/bdev/spdk_bdev.map
/spdk/lib/blob/blobstore.c
/spdk/lib/dma/Makefile
/spdk/lib/dma/dma.c
/spdk/lib/dma/spdk_dma.map
/spdk/lib/env_dpdk/env.mk
/spdk/lib/env_dpdk/init.c
/spdk/lib/env_ocf/ocf_env_list.h
/spdk/lib/event/app.c
/spdk/lib/event/app_rpc.c
/spdk/lib/event/reactor.c
/spdk/lib/idxd/Makefile
/spdk/lib/idxd/idxd.c
/spdk/lib/idxd/idxd.h
/spdk/lib/idxd/idxd_spec.h
/spdk/lib/json/Makefile
/spdk/lib/json/json_write.c
/spdk/lib/json/spdk_json.map
/spdk/lib/log/Makefile
/spdk/lib/log/log.c
/spdk/lib/log/spdk_log.map
/spdk/lib/nbd/nbd.c
/spdk/lib/nvme/Makefile
/spdk/lib/nvme/nvme_ctrlr.c
/spdk/lib/nvme/nvme_internal.h
/spdk/lib/nvme/nvme_ns_cmd.c
/spdk/lib/nvme/nvme_pcie_common.c
/spdk/lib/nvme/nvme_pcie_internal.h
/spdk/lib/nvme/nvme_qpair.c
/spdk/lib/nvme/nvme_rdma.c
/spdk/lib/nvme/nvme_tcp.c
/spdk/lib/nvme/nvme_transport.c
/spdk/lib/nvme/spdk_nvme.map
/spdk/lib/nvmf/ctrlr.c
/spdk/lib/nvmf/ctrlr_bdev.c
/spdk/lib/nvmf/nvmf.c
/spdk/lib/nvmf/nvmf_internal.h
/spdk/lib/nvmf/rdma.c
/spdk/lib/nvmf/spdk_nvmf.map
/spdk/lib/nvmf/subsystem.c
/spdk/lib/nvmf/transport.c
/spdk/lib/nvmf/vfio_user.c
/spdk/lib/sock/sock.c
/spdk/lib/sock/sock_rpc.c
/spdk/lib/thread/thread.c
/spdk/lib/util/base64.c
/spdk/lib/util/base64_sve.c
/spdk/lib/vhost/vhost_blk.c
/spdk/libvfio-user
/spdk/mdl_rules.rb
/spdk/mk/spdk.common.mk
/spdk/mk/spdk.lib_deps.mk
/spdk/mk/spdk.modules.mk
/spdk/module/bdev/aio/bdev_aio.c
/spdk/module/bdev/compress/vbdev_compress.c
/spdk/module/bdev/compress/vbdev_compress.h
/spdk/module/bdev/delay/vbdev_delay.c
/spdk/module/bdev/lvol/vbdev_lvol.c
/spdk/module/bdev/lvol/vbdev_lvol.h
/spdk/module/bdev/nvme/bdev_nvme.c
/spdk/module/bdev/nvme/bdev_nvme.h
/spdk/module/bdev/nvme/bdev_nvme_rpc.c
/spdk/module/bdev/passthru/vbdev_passthru.c
/spdk/module/bdev/rbd/bdev_rbd.c
/spdk/module/bdev/zone_block/vbdev_zone_block.c
/spdk/module/event/subsystems/nvmf/nvmf_rpc.c
/spdk/module/event/subsystems/nvmf/nvmf_tgt.c
/spdk/module/sock/posix/posix.c
/spdk/module/sock/sock_kernel.h
/spdk/module/sock/uring/uring.c
/spdk/scripts/check_format.sh
/spdk/scripts/gen_nvme.sh
/spdk/scripts/perf/nvmf/run_nvmf.py
/spdk/scripts/pkgdep.sh
/spdk/scripts/pkgdep/common.sh
/spdk/scripts/pkgdep/debian.sh
/spdk/scripts/pkgdep/freebsd.sh
/spdk/scripts/pkgdep/requirements.txt
/spdk/scripts/pkgdep/rhel.sh
/spdk/scripts/pkgdep/sles.sh
/spdk/scripts/rpc.py
/spdk/scripts/rpc/bdev.py
/spdk/scripts/rpc/nvmf.py
/spdk/scripts/rpc/sock.py
/spdk/scripts/setup.sh
/spdk/scripts/vagrant/README.md
/spdk/test/common/autotest_common.sh
/spdk/test/common/config/README.md
/spdk/test/common/config/pkgdep/apt-get
/spdk/test/common/config/pkgdep/dnf
/spdk/test/common/config/pkgdep/git
/spdk/test/common/config/pkgdep/yum
/spdk/test/common/lib/nvme/common_stubs.h
/spdk/test/common/skipped_build_files.txt
/spdk/test/ftl/common.sh
/spdk/test/ftl/config/fio/randw.fio
/spdk/test/ftl/dirty_shutdown.sh
/spdk/test/ftl/fio.sh
/spdk/test/ftl/ftl.sh
/spdk/test/ftl/restore.sh
/spdk/test/interrupt/reactor_set_interrupt.sh
/spdk/test/iscsi_tgt/ip_migration/ip_migration.sh
/spdk/test/iscsi_tgt/rpc_config/rpc_config.sh
/spdk/test/make/check_so_deps.sh
/spdk/test/nvme/perf/README.md
/spdk/test/nvme/perf/run_perf.sh
/spdk/test/nvmf/common.sh
/spdk/test/setup/devices.sh
/spdk/test/unit/lib/Makefile
/spdk/test/unit/lib/bdev/bdev.c/bdev_ut.c
bdev_nvme_ut.c
/spdk/test/unit/lib/blob/blob.c/blob_ut.c
/spdk/test/unit/lib/blob/bs_dev_common.c
/spdk/test/unit/lib/dma/Makefile
/spdk/test/unit/lib/dma/dma.c/.gitignore
/spdk/test/unit/lib/dma/dma.c/Makefile
/spdk/test/unit/lib/dma/dma.c/dma_ut.c
/spdk/test/unit/lib/event/reactor.c/reactor_ut.c
/spdk/test/unit/lib/json/json_write.c/json_write_ut.c
/spdk/test/unit/lib/nvme/nvme_ctrlr.c/nvme_ctrlr_ut.c
/spdk/test/unit/lib/nvme/nvme_cuse.c/nvme_cuse_ut.c
/spdk/test/unit/lib/nvme/nvme_ns_cmd.c/nvme_ns_cmd_ut.c
/spdk/test/unit/lib/nvme/nvme_opal.c/nvme_opal_ut.c
/spdk/test/unit/lib/nvme/nvme_pcie_common.c/nvme_pcie_common_ut.c
/spdk/test/unit/lib/nvme/nvme_qpair.c/nvme_qpair_ut.c
/spdk/test/unit/lib/nvme/nvme_rdma.c/nvme_rdma_ut.c
/spdk/test/unit/lib/nvme/nvme_transport.c/nvme_transport_ut.c
/spdk/test/unit/lib/nvmf/Makefile
/spdk/test/unit/lib/nvmf/ctrlr.c/ctrlr_ut.c
/spdk/test/unit/lib/nvmf/ctrlr_bdev.c/ctrlr_bdev_ut.c
/spdk/test/unit/lib/nvmf/ctrlr_discovery.c/ctrlr_discovery_ut.c
/spdk/test/unit/lib/nvmf/fc.c/fc_ut.c
/spdk/test/unit/lib/nvmf/nvmf.c/.gitignore
/spdk/test/unit/lib/nvmf/nvmf.c/Makefile
/spdk/test/unit/lib/nvmf/nvmf.c/nvmf_ut.c
/spdk/test/unit/lib/nvmf/subsystem.c/subsystem_ut.c
/spdk/test/unit/lib/nvmf/tcp.c/tcp_ut.c
/spdk/test/unit/unittest.sh
/spdk/test/vhost/common.sh
/spdk/test/vhost/migration/migration-tc2.sh
3c6b670d15-Jun-2021 Jonathan Teh <jonathan.teh@mayadata.io>

bdev/nvme: Switch to spdk_nvme_ctrlr_reset_async

In bdev_nvme_reset_ctrlr(), get a controller reset context and start
a poller that calls spdk_nvme_ctrlr_reset_poll_async() to perform the
controller

bdev/nvme: Switch to spdk_nvme_ctrlr_reset_async

In bdev_nvme_reset_ctrlr(), get a controller reset context and start
a poller that calls spdk_nvme_ctrlr_reset_poll_async() to perform the
controller reset asynchronously.

Signed-off-by: Jonathan Teh <jonathan.teh@mayadata.io>
Change-Id: I1e3ae42291c3b43b69c99ca56997dc1965c3ac59
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8454
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...


/spdk/CHANGELOG.md
/spdk/app/spdk_top/spdk_top.c
/spdk/app/trace/trace.cpp
/spdk/autobuild.sh
/spdk/autotest.sh
/spdk/examples/accel/perf/accel_perf.c
/spdk/include/spdk/accel_engine.h
/spdk/include/spdk/nvme.h
/spdk/include/spdk/nvme_spec.h
/spdk/include/spdk/util.h
/spdk/include/spdk_internal/accel_engine.h
/spdk/include/spdk_internal/event.h
/spdk/lib/accel/accel_engine.c
/spdk/lib/accel/spdk_accel.map
/spdk/lib/blob/blobstore.c
/spdk/lib/blob/blobstore.h
/spdk/lib/event/app.c
/spdk/lib/event/app_rpc.c
/spdk/lib/event/dpdk_governor.c
/spdk/lib/event/gscheduler.c
/spdk/lib/event/reactor.c
/spdk/lib/event/scheduler_dynamic.c
/spdk/lib/idxd/idxd.c
/spdk/lib/idxd/idxd.h
/spdk/lib/idxd/idxd_kernel.c
/spdk/lib/idxd/idxd_spec.h
/spdk/lib/idxd/idxd_user.c
/spdk/lib/init/json_config.c
/spdk/lib/nbd/nbd.c
/spdk/lib/nvme/nvme_ctrlr.c
/spdk/lib/nvme/nvme_internal.h
/spdk/lib/nvme/nvme_ns.c
/spdk/lib/nvme/spdk_nvme.map
/spdk/lib/nvmf/ctrlr.c
/spdk/lib/nvmf/nvmf_internal.h
/spdk/lib/nvmf/subsystem.c
/spdk/lib/nvmf/vfio_user.c
/spdk/lib/reduce/reduce.c
/spdk/lib/scsi/scsi_bdev.c
/spdk/lib/thread/thread.c
/spdk/lib/thread/thread_internal.h
/spdk/lib/util/dif.c
/spdk/module/accel/idxd/accel_engine_idxd.c
/spdk/module/bdev/nvme/bdev_nvme.c
/spdk/module/bdev/nvme/common.h
/spdk/scripts/perf/nvmf/README.md
/spdk/scripts/perf/nvmf/run_nvmf.py
/spdk/scripts/pkgdep/freebsd.sh
/spdk/scripts/rpc.py
/spdk/test/common/autotest_common.sh
/spdk/test/common/config/pkgdep/git
/spdk/test/common/config/pkgdep/pkg
/spdk/test/common/skipped_tests.txt
/spdk/test/nvme/Makefile
/spdk/test/nvme/cmb/cmb.sh
/spdk/test/nvme/cmb/cmb_copy.sh
/spdk/test/nvme/connect_stress/.gitignore
/spdk/test/nvme/connect_stress/Makefile
/spdk/test/nvme/connect_stress/connect_stress.c
/spdk/test/nvme/perf/common.sh
/spdk/test/nvme/perf/run_perf.sh
/spdk/test/nvmf/nvmf.sh
/spdk/test/nvmf/target/connect_stress.sh
/spdk/test/scheduler/common.sh
/spdk/test/scheduler/interrupt.sh
/spdk/test/scheduler/load_balancing.sh
bdev_nvme_ut.c
/spdk/test/unit/lib/blob/blob.c/blob_ut.c
/spdk/test/unit/lib/event/app.c/app_ut.c
/spdk/test/unit/lib/event/reactor.c/reactor_ut.c
/spdk/test/unit/lib/nvmf/subsystem.c/subsystem_ut.c
/spdk/test/unit/lib/nvmf/tcp.c/tcp_ut.c
/spdk/test/unit/lib/thread/thread.c/thread_ut.c
/spdk/test/vhost/migration/migration-tc2.sh
/spdk/test/vhost/perf_bench/vhost_perf.sh
d2d1899b06-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Create nvme_bdev_channel for nvme_bdev

Create a single nvme_bdev_channel for each nvme_bdev and each SPDK
thread. nvme_bdev_channel has a pair of nvme_ns and nvme_ctrlr_channel.

The pair

bdev/nvme: Create nvme_bdev_channel for nvme_bdev

Create a single nvme_bdev_channel for each nvme_bdev and each SPDK
thread. nvme_bdev_channel has a pair of nvme_ns and nvme_ctrlr_channel.

The pair of nvme_ns and nvme_ctrlr_channel will be aggregated by
nvme_ns_channel in the following patches.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I095a2d6afa4ea23a87e4452b2f9d4c7e0087abe0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6605
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot

show more ...

072f2d0002-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Update ANA log page it self when ANA change event is notified

When ANA change event is notified, increment reference count, read
ANA log page, and parse it to update ANA states of namespa

bdev/nvme: Update ANA log page it self when ANA change event is notified

When ANA change event is notified, increment reference count, read
ANA log page, and parse it to update ANA states of namespaces.

Then remove the spdk_nvme_ns_get_ana_state() call and its stub in
unit tests.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I254ae6cb993694bf0d7f4fa4b1039b5f9243b5cb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8335
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>

show more ...

7ec6d1d505-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Read ANA log page itself when nvme_ctrlr is created

If ctrlr supports ANA log page, nvme_ctrlr allocates a buffer for ANA
log page and read ANA log page itself, and then each nvme_ns sets

bdev/nvme: Read ANA log page itself when nvme_ctrlr is created

If ctrlr supports ANA log page, nvme_ctrlr allocates a buffer for ANA
log page and read ANA log page itself, and then each nvme_ns sets its
ANA state by parsing ANA log page.

Most code was brought from NVMe driver because NVMe driver already
supports ANA log page management. However it had a bug that assumed
each descriptor is 8-bytes aligned. Fix the bug together in this
patch. Besides, the implementation in NVMe driver was synchronous.
NVMe bdev module reads ANA log page asynchronously instead.

The next patch will support ANA log page update by AER handler.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ib8eab887633b043b394a45702037859414b8e0a0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8318
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...

5288c4df26-May-2021 Matt Dumm <matt.dumm@hpe.com>

nvme: separate admin timeout vs. io timeout

Signed-off-by: Matt Dumm <matt.dumm@hpe.com>
Change-Id: Ia1f105fdf154aae034ccfca2f0dc3b4c43c9fc84
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+

nvme: separate admin timeout vs. io timeout

Signed-off-by: Matt Dumm <matt.dumm@hpe.com>
Change-Id: Ia1f105fdf154aae034ccfca2f0dc3b4c43c9fc84
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8072
Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>

show more ...


/spdk/CHANGELOG.md
/spdk/CONFIG
/spdk/app/iscsi_tgt/Makefile
/spdk/app/iscsi_tgt/iscsi_tgt.c
/spdk/app/spdk_top/Makefile
/spdk/app/trace/trace.cpp
/spdk/configure
/spdk/doc/jsonrpc.md
/spdk/doc/performance_reports.md
/spdk/examples/interrupt_tgt/interrupt_tgt.c
/spdk/examples/nvme/hotplug/hotplug.c
/spdk/examples/nvme/identify/identify.c
/spdk/examples/sock/hello_world/Makefile
/spdk/examples/sock/hello_world/hello_sock.c
/spdk/include/spdk/idxd.h
/spdk/include/spdk/nvme.h
/spdk/lib/Makefile
/spdk/lib/idxd/Makefile
/spdk/lib/idxd/idxd.c
/spdk/lib/idxd/idxd.h
/spdk/lib/idxd/idxd_kernel.c
/spdk/lib/idxd/idxd_user.c
/spdk/lib/iscsi/conn.c
/spdk/lib/iscsi/iscsi.c
/spdk/lib/nvme/Makefile
/spdk/lib/nvme/nvme.c
/spdk/lib/nvme/nvme_ctrlr.c
/spdk/lib/nvme/nvme_cuse.c
/spdk/lib/nvme/nvme_internal.h
/spdk/lib/nvme/nvme_pcie.c
/spdk/lib/nvme/spdk_nvme.map
/spdk/lib/nvmf/ctrlr.c
/spdk/lib/nvmf/vfio_user.c
/spdk/lib/rocksdb/spdk.rocksdb.mk
/spdk/lib/sock/spdk_sock.map
/spdk/mk/spdk.common.mk
/spdk/mk/spdk.lib_deps.mk
/spdk/module/accel/idxd/accel_engine_idxd.c
/spdk/module/accel/idxd/accel_engine_idxd.h
/spdk/module/accel/idxd/accel_engine_idxd_rpc.c
/spdk/module/bdev/nvme/bdev_nvme.c
/spdk/module/bdev/nvme/bdev_nvme.h
/spdk/module/bdev/nvme/common.h
/spdk/module/event/subsystems/Makefile
/spdk/module/sock/uring/uring.c
/spdk/scripts/perf/nvmf/README.md
/spdk/scripts/perf/nvmf/run_nvmf.py
/spdk/scripts/rpc.py
/spdk/scripts/rpc/__init__.py
/spdk/scripts/rpc/idxd.py
/spdk/test/common/config/pkgdep/git
/spdk/test/common/skipped_build_files.txt
/spdk/test/iscsi_tgt/pmem/iscsi_pmem.sh
/spdk/test/iscsi_tgt/rpc_config/rpc_config.py
/spdk/test/json_config/json_config.sh
bdev_nvme_ut.c
/spdk/test/unit/lib/idxd/Makefile
/spdk/test/unit/lib/idxd/idxd.c/idxd_ut.c
/spdk/test/unit/lib/idxd/idxd_kernel.c/.gitignore
/spdk/test/unit/lib/idxd/idxd_kernel.c/Makefile
/spdk/test/unit/lib/idxd/idxd_kernel.c/idxd_kernel_ut.c
/spdk/test/unit/lib/nvme/nvme_ctrlr.c/nvme_ctrlr_ut.c
/spdk/test/unit/lib/nvmf/Makefile
/spdk/test/unit/lib/nvmf/rdma.c/rdma_ut.c
/spdk/test/unit/lib/nvmf/vfio_user.c/.gitignore
/spdk/test/unit/lib/nvmf/vfio_user.c/Makefile
/spdk/test/unit/lib/nvmf/vfio_user.c/vfio_user_ut.c
07df4b0105-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Rename bdev_nvme_reset() by bdev_nvme_reset_io()

Reset requests from the upper layer will reset the underlying
ctrlrs of a bdev ctrlr but internal reset requests will reset only
the speci

bdev/nvme: Rename bdev_nvme_reset() by bdev_nvme_reset_io()

Reset requests from the upper layer will reset the underlying
ctrlrs of a bdev ctrlr but internal reset requests will reset only
the specified ctrlr.

To clarify such difference, rename bdev_nvme_reset() by
bdev_nvme_reset_io() and remove the underscore prefix from
_bdev_nvme_reset() and related functions.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I9a2d124f6e2039bfecfdd6599827354d6c373f2e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8492
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...

82739d1205-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

ut/bdev_nvme: Factor out allocating bdev_io into a helper function

This will reduce the size of the following patches and improve the
readability.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.

ut/bdev_nvme: Factor out allocating bdev_io into a helper function

This will reduce the size of the following patches and improve the
readability.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I2ff5a10622141466d6a0352b2a6387b1412cfbf8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8641
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>

show more ...

39fdbc9505-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

ut/bdev_nvme: Use bdev_nvme_submit_request() for test_pending_reset() case

Create an nvme_bdev by adding namespace to an attached controller,
and use bdev_nvme_submit_request() in the test case test

ut/bdev_nvme: Use bdev_nvme_submit_request() for test_pending_reset() case

Create an nvme_bdev by adding namespace to an attached controller,
and use bdev_nvme_submit_request() in the test case test_pending_reset().

This will reduce the size of the following patches and will increase
the test coverage.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ifb05952a53949e12562e9be3f6526b0f8ad57696
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8640
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>

show more ...

a3dcdc0506-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Rename nvme_bdev_ctrlr by nvme_ctrlr

This object is per I/O path and will be aggregated by an new upper
layer object.

Hence rename nvme_bdev_ctrlr by nvme_ctrlr. Then the following patch

bdev/nvme: Rename nvme_bdev_ctrlr by nvme_ctrlr

This object is per I/O path and will be aggregated by an new upper
layer object.

Hence rename nvme_bdev_ctrlr by nvme_ctrlr. Then the following patches
will add nvme_bdev_ctrlr as a different upper layer object.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ieed634447785cc98140b3d49c52a2c753988ece7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8381
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...

9e65d3bb30-Jun-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Rename nvme_bdev_ctrlr_trid by nvme_ctrlr_trid

This object is used for failover and per I/O path. A controller may
have multiple of this object. A controller is per path and may be
aggreg

bdev/nvme: Rename nvme_bdev_ctrlr_trid by nvme_ctrlr_trid

This object is used for failover and per I/O path. A controller may
have multiple of this object. A controller is per path and may be
aggregated by an new object. Hence this object is a lower layer
object.

Based on the new naming rule, rename nvme_bdev_ctrlr_trid by
nvme_ctrlr_trid.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I0d5e5812560a6947a0c25af05dea168e8745130e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8380
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>

show more ...

c4626aa430-Jun-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Rename nvme_bdev_ns by nvme_ns

This object will be aggregated by the upper layer object nvme_bdev.
Hence based on the new naming rule, rename nvme_bdev_ns by nvme_ns.

Signed-off-by: Shuh

bdev/nvme: Rename nvme_bdev_ns by nvme_ns

This object will be aggregated by the upper layer object nvme_bdev.
Hence based on the new naming rule, rename nvme_bdev_ns by nvme_ns.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I96a70213b29fb53437acd080a0787ec9f5a6759a
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8379
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>

show more ...

c710c9ac07-Jul-2021 Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>

bdev/nvme: Rename nvme_io_path by nvme_ctrlr_channel

We will name the lower level objects starting with nvme_* and the
upper level objects starting with nvme_bdev_*.

This object is a channel per ct

bdev/nvme: Rename nvme_io_path by nvme_ctrlr_channel

We will name the lower level objects starting with nvme_* and the
upper level objects starting with nvme_bdev_*.

This object is a channel per ctrlr and another new channel will be
added on top of this object.

Rename nvme_io_path by nvme_ctrlr_channel based on the new naming rule.

nvme_io_path will be used for a new object which is used to find an
optimal I/O path and to reset multiple ctrlrs sequentially when
multipath is supported.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I1d4fa6d4625de3413d629a1ff412e00de12dfaf4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8378
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>

show more ...

123456789