972b3ae3 | 04-Jun-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
lib/bdev: Use not SPDK thread count but core count for mempool cache size
Cache size of mempool is not based on SPDK thread but DPDK thread, i.e. CPU core. So replace spdk_thread_get_count() by spdk
lib/bdev: Use not SPDK thread count but core count for mempool cache size
Cache size of mempool is not based on SPDK thread but DPDK thread, i.e. CPU core. So replace spdk_thread_get_count() by spdk_env_get_core_count() to determine cache size of mempool in spdk_bdev_initialize().
Besides, allocate and free stub cores at the corresponding unit tests.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Icc4deae84c74820af4de61e991fa3f8683add058 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2767 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
8d4b319c | 01-Jun-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
lib/bdev: Change completion status of I/O aborted by reset from FAILED to ABORTED
Using not FAILED but ABORTED for the completion status of the I/Os aborted by reset will be reasonable and is done i
lib/bdev: Change completion status of I/O aborted by reset from FAILED to ABORTED
Using not FAILED but ABORTED for the completion status of the I/Os aborted by reset will be reasonable and is done in this patch.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I8c8181dd33453a330888cffa93505e6fc462f278 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2708 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
fc3e4061 | 06-May-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
lib/bdev: Add all submitted I/Os to the list including any I/O generated by splitting
This is a preparation to abort split I/Os. To abort any I/O by bio_cb_arg, they have to be managed by the submit
lib/bdev: Add all submitted I/Os to the list including any I/O generated by splitting
This is a preparation to abort split I/Os. To abort any I/O by bio_cb_arg, they have to be managed by the submitted I/O list.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I9459d9d2d3511aad0325dcc20d88610444a4ea04 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2231 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
ebd1a4f7 | 11-Dec-2019 |
Jim Harris <james.r.harris@intel.com> |
bdev: inherit locked ranges for new channels
Keep a mutex protected list of the active locked ranges in the bdev itself. This is only accessed when a new channel is created, so that it can be popul
bdev: inherit locked ranges for new channels
Keep a mutex protected list of the active locked ranges in the bdev itself. This is only accessed when a new channel is created, so that it can be populated with the currently locked ranges.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id68311b46ad4983b6bc9b0e1a8664d121a7e9f8e
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477871 Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|