6d2caa65 | 30-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 ...
|
d409971b | 30-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 ...
|
a8b02930 | 26-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 ...
|
050346e0 | 25-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 ...
|
282b8b70 | 25-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 ...
|
6e5d6032 | 20-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 ...
|
d39c4443 | 27-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 ...
|
9a3939bf | 26-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 ...
|
efbab149 | 18-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 ...
|
511fe155 | 10-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 ...
|
1763a126 | 19-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 ...
|
8b212081 | 09-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 ...
|
c3a58489 | 06-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 ...
|
3c6b670d | 15-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 ...
|
d2d1899b | 06-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 ...
|
072f2d00 | 02-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 ...
|
7ec6d1d5 | 05-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 ...
|
5288c4df | 26-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 ...
|
07df4b01 | 05-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 ...
|
82739d12 | 05-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 ...
|
39fdbc95 | 05-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 ...
|
a3dcdc05 | 06-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 ...
|
9e65d3bb | 30-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 ...
|
c4626aa4 | 30-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 ...
|
c710c9ac | 07-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 ...
|