Revision tags: v25.01-rc1 |
|
#
d70bfa13 |
| 14-Oct-2024 |
Yankun Li <yankun@staff.sina.com> |
bdev/compress: Print allocated_io_units for vol
Change-Id: I456cad3fa7ef23f29d846187614aed414bf1df65 Signed-off-by: Yankun Li <yankun@staff.sina.com> Reviewed-on: https://review.spdk.io/gerrit/c/spd
bdev/compress: Print allocated_io_units for vol
Change-Id: I456cad3fa7ef23f29d846187614aed414bf1df65 Signed-off-by: Yankun Li <yankun@staff.sina.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25208 Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Changpeng Liu <changpeliu@tencent.com> Reviewed-by: Alliswell <hisunzhenliang@outlook.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
show more ...
|
Revision tags: v24.09, v25.01-pre, v24.09-rc1 |
|
#
412fced1 |
| 04-Sep-2024 |
Yalong Wang <yalong9@staff.sina.com.cn> |
bdev/compress: unmap support.
Change-Id: Ibdb98f02725615532ebac2e5536d5db55d76c886 Signed-off-by: Yalong Wang <yalong9@staff.sina.com.cn> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/247
bdev/compress: unmap support.
Change-Id: Ibdb98f02725615532ebac2e5536d5db55d76c886 Signed-off-by: Yalong Wang <yalong9@staff.sina.com.cn> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24798 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
#
ddd4603c |
| 06-Aug-2024 |
Yankun Li <845245370@qq.com> |
bdev/compress: Supports the specified compression algorithm
compress bdev Indicates that compression uses the synchronization mechanism and only deflate is supported. However, for some business scen
bdev/compress: Supports the specified compression algorithm
compress bdev Indicates that compression uses the synchronization mechanism and only deflate is supported. However, for some business scenarios, it is more concerned with compression performance than compression rate. So we provide extensions that support multiple compression algorithms
Change-Id: I36b93875eed3069aa0c74843d98e4a0c90412b9e Signed-off-by: Yankun Li <845245370@qq.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24452 Reviewed-by: GangCao <gang.cao@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
0ca24e84 |
| 22-Aug-2024 |
Yankun Li <845245370@qq.com> |
test/unit: add unit test for vbdev_compress_io_type_supported
Change-Id: Id0be44a756fbb2f07373b04a8b16a092577c8e08 Signed-off-by: Yankun Li <845245370@qq.com> Reviewed-on: https://review.spdk.io/ger
test/unit: add unit test for vbdev_compress_io_type_supported
Change-Id: Id0be44a756fbb2f07373b04a8b16a092577c8e08 Signed-off-by: Yankun Li <845245370@qq.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24643 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
#
245271b6 |
| 19-Jul-2024 |
Yankun Li <845245370@qq.com> |
bdev/compress: change the calling mode of vol and comp module
Use struct spdk_reduce_backing_io to encapsulate request parameters for backing bdev. Easy to put in wait queue when no bdev_io.
Use _c
bdev/compress: change the calling mode of vol and comp module
Use struct spdk_reduce_backing_io to encapsulate request parameters for backing bdev. Easy to put in wait queue when no bdev_io.
Use _comp_reduce_submit_backing_io instead of _comp_reduce_unmap, _comp_reduce_writev, and _comp_reduce_readv.
Change-Id: Ie8d6043a20e601558260323409702163ea1c0f17 Signed-off-by: Yankun Li <845245370@qq.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24259 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by: GangCao <gang.cao@intel.com>
show more ...
|
#
89648519 |
| 17-Jul-2024 |
Yankun Li <845245370@qq.com> |
bdev/compress: Output the pm_path entry for bdev_get_bdevs()
Change-Id: I8671a8903d2729b37552e156a6d9db57ff1852a9 Signed-off-by: Yankun Li <845245370@qq.com> Reviewed-on: https://review.spdk.io/gerr
bdev/compress: Output the pm_path entry for bdev_get_bdevs()
Change-Id: I8671a8903d2729b37552e156a6d9db57ff1852a9 Signed-off-by: Yankun Li <845245370@qq.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24210 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v24.05, v24.09-pre, v24.05-rc1 |
|
#
79e2a56f |
| 25-Apr-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
accel: remove flags
They were unused, deprecated, and scheduled for removal in v24.05.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I48e7e59df56cf2368f23e925360644665948585a
accel: remove flags
They were unused, deprecated, and scheduled for removal in v24.05.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I48e7e59df56cf2368f23e925360644665948585a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22950 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1 |
|
#
5105dc5d |
| 04-Sep-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
accel: add the spdk_ prefix to accel_opcode
This enum is part of the public interface, so it should have the spdk_ prefix.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ie1d4a
accel: add the spdk_ prefix to accel_opcode
This enum is part of the public interface, so it should have the spdk_ prefix.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ie1d4aee707ede70c7f181561e1002ce443628ca4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19685 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@gmail.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
#
ea941cae |
| 28-Jul-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/unit: use spdk_ut_run_tests()
Replaced direct calls to the CUnit's functions to run the tests with spdk_ut_run_tests(). That way, each test will have the ability to run a specific test case.
test/unit: use spdk_ut_run_tests()
Replaced direct calls to the CUnit's functions to run the tests with spdk_ut_run_tests(). That way, each test will have the ability to run a specific test case.
The blob.c unit test wasn't changed, because it runs all tests multiple times with different parameter combinations, so it cannot be easily converted. In the future, each such combination could be split into a separate test suite, which would make it compatible with spdk_ut_run_tests().
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I4463f808f89844e9bf32b5b31eda197c5d729d1d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19288 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
ae431e31 |
| 28-Jul-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/unit: move spdk_cunit.h to include/spdk_internal
It'll make it easier to include this file outside of unit tests.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I171ddb864
test/unit: move spdk_cunit.h to include/spdk_internal
It'll make it easier to include this file outside of unit tests.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I171ddb8649f67b5786f08647560e2907603d0574 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19284 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
Revision tags: v23.05, v23.09-pre, v23.01.1, v23.01, v23.05-pre, v23.01-rc1, v22.01.2, v22.09, v23.01-pre, v22.09-rc1 |
|
#
bb5083a8 |
| 07-Jul-2022 |
paul luse <paul.e.luse@intel.com> |
bdev/compress: Port to use accel_fw instead of compressdev directly
This patch removes hardcoded compressdev code from the vbdev module and instead uses the accel_fw. The port required a few changes
bdev/compress: Port to use accel_fw instead of compressdev directly
This patch removes hardcoded compressdev code from the vbdev module and instead uses the accel_fw. The port required a few changes based on how things are plumbed and accessed, nothing that isn't be too obscure. CI tests were updated to run ISAL accel_fw module as well as DPDK compressdev with QAT.
Unit tests for the new module will follow in a separate patch.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I769cbc888658fb846d89f6f0bfeeb1a2a820767e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13610 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
#
a6dbe372 |
| 01-Nov-2022 |
paul luse <paul.e.luse@intel.com> |
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date defa
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date default <file> | tail -1
and then pull just the 4 digit year from the result.
Intel copyrights were not added to files where Intel either had no contribution ot the contribution lacked substance (ie license header updates, formatting changes, etc). Contribution date used "--follow -C95%" to get the most accurate date.
Note that several files in this patch didn't end the license/(c) block with a blank comment line so these were added as the vast majority of files do have this last blank line. Simply there for consistency.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Id5b7ce4f658fe87132f14139ead58d6e285c04d4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15192 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
#
8dd1cd21 |
| 22-Jun-2022 |
Ben Walker <benjamin.walker@intel.com> |
check_format: For C files only, fix return type breaks
In SPDK, declarations have the return type on the same line. Definitions have the return type on a separate line. Astyle has an option for enfo
check_format: For C files only, fix return type breaks
In SPDK, declarations have the return type on the same line. Definitions have the return type on a separate line. Astyle has an option for enforcing this. Unfortunately, it seems to have two bugs:
1) It doesn't work correctly at all on C++ files. 2) It often fails on functions that return enums, or long type names
Deal with 1) by adjusting the check_format.sh script to only tell astyle to fix return type line breaks for C files and not C++. Deal with 2) by adding a few typedefs to work around the problem.
Change-Id: Idf28281466cab8411ce252d5f02ab384166790c6 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13437 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
show more ...
|
#
488570eb |
| 03-Jun-2022 |
Jim Harris <james.r.harris@intel.com> |
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in every source file. This patch replaces the bulk of SPDK .c, .cpp and Makefiles with the BSD-3-Clause identifier.
Almost all of these files share the exact same license text, and this patch only modifies the files that contain the most common license text. There can be slight variations because the third clause contains company names - most say "Intel Corporation", but there are instances for Nvidia, Samsung, Eideticom and even "the copyright holder".
Used a bash script to automate replacement of the license text with SPDX identifier which is checked into scripts/spdx.sh.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iaa88ab5e92ea471691dc298cfe41ebfb5d169780 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12904 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@nvidia.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: <qun.wan@intel.com>
show more ...
|
Revision tags: v22.05, v22.09-pre, v22.05-rc1, v22.01.1 |
|
#
f530abca |
| 15-Mar-2022 |
Alexey Marchuk <alexeymar@mellanox.com> |
bdev/compress: Verify mbuf chain if the driver doesn't suppot SGL
With recent changes libreduce should provide correct buffers if the driver doesn't support SGL in/out. This patch verifies that we d
bdev/compress: Verify mbuf chain if the driver doesn't suppot SGL
With recent changes libreduce should provide correct buffers if the driver doesn't support SGL in/out. This patch verifies that we don't use SGLs when they are not supported. Since even a single buffer can be split on 2MB page boundary, it is not enough just to check iovs count.
Added asserts that the first elements of mbufs are not null to avoid scan build errors
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: I620e43bf5b1abd25cab412fe08346a6d767c9be9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11973 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: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
#
731ddc71 |
| 15-Mar-2022 |
Alexey Marchuk <alexeymar@mellanox.com> |
bdev/compress: Correctly free mbufs in error case
rte_pktmbuf_free frees the given mbuf and any chained mbufs. It can cause double free of some mbuf if we free every mbuf in a loop. Instead use rte_
bdev/compress: Correctly free mbufs in error case
rte_pktmbuf_free frees the given mbuf and any chained mbufs. It can cause double free of some mbuf if we free every mbuf in a loop. Instead use rte_pktmbuf_free_bulk which correctly release chained mbufs.
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: I55fd7832ff656f519a4ed2f02de8ef1a0f637a02 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11972 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v22.01, v22.01-rc1, v21.10, v21.10-rc1, v21.07, v21.07-rc1 |
|
#
2ac15215 |
| 06-Jul-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/compress: fix Wstringop-overflow warnings
Fixed warnings produced by gcc-11:
compress_ut.c: In function ‘test_compress_operation’: compress_ut.c:726:9: warning: ‘_get_mbuf_array’ accessing 32
test/compress: fix Wstringop-overflow warnings
Fixed warnings produced by gcc-11:
compress_ut.c: In function ‘test_compress_operation’: compress_ut.c:726:9: warning: ‘_get_mbuf_array’ accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] 726 | _get_mbuf_array(exp_src_mbuf, &g_expected_src_mbufs[0], SPDK_COUNTOF(exp_src_mbuf), false); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compress_ut.c:726:9: note: referencing argument 1 of type ‘struct rte_mbuf **’ compress_ut.c:430:1: note: in a call to function ‘_get_mbuf_array’ 430 | _get_mbuf_array(struct rte_mbuf *mbuf_array[UT_MBUFS_PER_OP_BOUND_TEST], | ^~~~~~~~~~~~~~~
Fixes issue #2013.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I04d0182169e61e87401f93f56993168d7aa42e43 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8692 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
5fc0475c |
| 05-Jun-2021 |
Jiewei Ke <jiewei@smartx.com> |
thread: Make the definition of struct spdk_io_channel private
Move the definition of structure spdk_io_channel into lib/thread/thread_internal.h, so we don't have to update SO_VER for other librarie
thread: Make the definition of struct spdk_io_channel private
Move the definition of structure spdk_io_channel into lib/thread/thread_internal.h, so we don't have to update SO_VER for other libraries in future when we need to change the internal details on the structure.
Signed-off-by: Jiewei Ke <jiewei@smartx.com> Change-Id: I3d2ca7a8737972e0b33ce92e464da42c48f89dec Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8189 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ziye Yang <ziye.yang@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 ...
|
Revision tags: v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1 |
|
#
ec2e6e2b |
| 06-Jan-2021 |
paul luse <paul.e.luse@intel.com> |
modules/crypto/compress: changes to support DPDK mbuf changes
Need to manage how we store IO context based on DPDK updates made in 19.11.
Fixes issue #1671
Signed-off-by: paul luse <paul.e.luse@in
modules/crypto/compress: changes to support DPDK mbuf changes
Need to manage how we store IO context based on DPDK updates made in 19.11.
Fixes issue #1671
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: If1183808cd30987b6c999912f563949b7ade7fcb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5799 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v20.10, v20.10-rc1 |
|
#
42ec403b |
| 23-Oct-2020 |
Jim Harris <james.r.harris@intel.com> |
test: add some missing stubs
This fixes link issues with clang on some systems.
Fixes another part of issue #1613.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Icd51351b8e38043f
test: add some missing stubs
This fixes link issues with clang on some systems.
Fixes another part of issue #1613.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Icd51351b8e38043f267918b85e8ed1c3daab2db7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4860 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
#
aec30063 |
| 11-Oct-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
bdev/compress: Pass bdev name instead of bdev pointer to _prepare_for_load_init()
This patch removes the call of spdk_bdev_get_by_name() from create_compress_bdev() by calling spdk_bdev_open_ext() a
bdev/compress: Pass bdev name instead of bdev pointer to _prepare_for_load_init()
This patch removes the call of spdk_bdev_get_by_name() from create_compress_bdev() by calling spdk_bdev_open_ext() and then passing bdev descriptor to _prepare_for_load_init(). vbdev_init_reduce() returns the return code of spdk_bdev_open_ext() directly if it is error to process the ENODEV case correctly.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie80ce4104ceaa5726db976e33cd35352d5c91703 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4571 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: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
#
779a6bdf |
| 08-Oct-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
bdev/compress: Replace spdk_bdev_open() by spdk_bdev_open_ext()
This patch is just a drop-in replacement.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iffb253ba3a46f
bdev/compress: Replace spdk_bdev_open() by spdk_bdev_open_ext()
This patch is just a drop-in replacement.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iffb253ba3a46f03f9927c4ba4206376509cbb5fc Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4566 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
#
d48a7b26 |
| 09-Oct-2020 |
Ben Walker <benjamin.walker@intel.com> |
env: spdk_vtophys buffer argument is now const
Indicate that this parameter is not modified.
Signed-off-by: Ben Walker <benjamin.walker@intel.com> Change-Id: I1e68f6c5ed4cbfaed0495e969ee1a50c31e9cc
env: spdk_vtophys buffer argument is now const
Indicate that this parameter is not modified.
Signed-off-by: Ben Walker <benjamin.walker@intel.com> Change-Id: I1e68f6c5ed4cbfaed0495e969ee1a50c31e9ccac Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4583 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
Revision tags: v20.07, v20.07-rc1, v20.04.1, v20.01.2 |
|
#
eb05cbd6 |
| 04-May-2020 |
Maciej Szwed <maciej.szwed@intel.com> |
pollers: Fix pollers to return correct busy status
Poller should return status > 0 when it did some work (CPU was used for some time) marking its call as busy CPU time.
Active pollers should return
pollers: Fix pollers to return correct busy status
Poller should return status > 0 when it did some work (CPU was used for some time) marking its call as busy CPU time.
Active pollers should return BUSY status only if they did any meangful work besides checking some conditions (e.g. processing requests, do some complicated operations).
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Id4636a0997489b129cecfe785592cc97b50992ba Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2164 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: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
Revision tags: v20.04, v20.04-rc1 |
|
#
e7ead00b |
| 03-Apr-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit()
Following patches will require thread termination so that thread_exit() will move thread to exiting, thread_pol
lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit()
Following patches will require thread termination so that thread_exit() will move thread to exiting, thread_poll() will move thread from exiting to exited, thread_is_exited() will detect the threadis exited, and then call thread_destroy().
So change all places as a preparation.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I6b2e8aee5ed7cd160a88b4c9aaed7d90bd9dac07 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1640 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|