Revision tags: v25.01-rc1, 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 ...
|
#
6881fb40 |
| 18-Sep-2024 |
Yalong Wang <yalong9@staff.sina.com.cn> |
lib/reduce: speed up _check_overlap by using rbtree.
Change-Id: Ib7b14b9e1c46d2e1c45cf13a7036ceefe190efbb Signed-off-by: Yalong Wang <yalong9@staff.sina.com.cn> Reviewed-on: https://review.spdk.io/g
lib/reduce: speed up _check_overlap by using rbtree.
Change-Id: Ib7b14b9e1c46d2e1c45cf13a7036ceefe190efbb Signed-off-by: Yalong Wang <yalong9@staff.sina.com.cn> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24944 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: GangCao <gang.cao@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 ...
|
Revision tags: v24.05, v24.09-pre, v24.05-rc1, LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1 |
|
#
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 ...
|
#
7e55f977 |
| 01-Dec-2022 |
paul luse <paul.e.luse@intel.com> |
test/reduce: fix missing mem free call and add test call to UT script
fixes #2808
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I546fa29713ccc7daf242e41f2311690a5cf68773 Reviewed-on:
test/reduce: fix missing mem free call and add test call to UT script
fixes #2808
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I546fa29713ccc7daf242e41f2311690a5cf68773 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15753 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@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 |
|
#
619b4dba |
| 15-Apr-2022 |
Alexey Marchuk <alexeymar@mellanox.com> |
lib/reduce: Check if user's buffer crosses huge page boundary
If compress driver doesn't support SGL input of output then we need to copy user's buffers into reduce internal buffers
Signed-off-by:
lib/reduce: Check if user's buffer crosses huge page boundary
If compress driver doesn't support SGL input of output then we need to copy user's buffers into reduce internal buffers
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: I0c07243a5b668d0e0adcc153e5b573f59c26ab64 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12281 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: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
b86e85f5 |
| 13-Apr-2022 |
Alexey Marchuk <alexeymar@mellanox.com> |
lib/reduce: Properly allocate comp/decomp buffers
Reduce library allocates one big chunk of memory and then splits it between requests. The problem is that a chunk of memory assigned to a request ma
lib/reduce: Properly allocate comp/decomp buffers
Reduce library allocates one big chunk of memory and then splits it between requests. The problem is that a chunk of memory assigned to a request may cross huge page boundary and if compress driver doesn't support SGL input of output, operation will be failed. To avoid this problem, align buffer start on 2MiB and check each chunk of memory if it crosses huge page boundary.
Fixes issue #2454
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Ie730b8ba928f27a43bde1222b6c18d29b797575a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12249 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: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
42f59f50 |
| 15-Mar-2022 |
Alexey Marchuk <alexeymar@mellanox.com> |
lib/reduce: Copy user's buffers if SGL is not supported
In the compression operation we may have SGL input if user's buffer is fragmented or less than chunk_size. If the backing device doesn't suppo
lib/reduce: Copy user's buffers if SGL is not supported
In the compression operation we may have SGL input if user's buffer is fragmented or less than chunk_size. If the backing device doesn't support SGL input then we should copy user's buffers into decomp_buffer (including paddings if any). In the decompression operation, if the backing device doesn't support SGL output, we use a single output buffer which is pointing to decomp_buffer. Once the operation completes, we should copy the result into user's buffers.
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Ic7fddd38374bb6898256633eacd192dbaf36541a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11970 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: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
Revision tags: v22.01, v22.01-rc1 |
|
#
c9c7c281 |
| 25-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
spelling: test
Part of #2256
* achieve * additionally * against * aliases * already * another * arguments * between * capabilities * comparison * compatibility * configuration * continuing * contro
spelling: test
Part of #2256
* achieve * additionally * against * aliases * already * another * arguments * between * capabilities * comparison * compatibility * configuration * continuing * controlq * cpumask * default * depends * dereferenced * discussed * dissect * driver * environment * everything * excluded * existing * expectation * failed * fails * following * functions * hugepages * identifiers * implicitly * in_capsule * increment * initialization * initiator * integrity * iteration * latencies * libraries * management * namespace * negotiated * negotiation * nonexistent * number * occur * occurred * occurring * offsetting * operations * outstanding * overwhelmed * parameter * parameters * partition * preempts * provisioned * responded * segment * skipped * struct * subsystem * success * successfully * sufficiently * this * threshold * transfer * transferred * unchanged * unexpected * unregistered * useless * utility * value * variable * workload
Change-Id: I21ca7dab4ef575b5767e50aaeabc34314ab13396 Signed-off-by: Josh Soref <jsoref@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10409 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v21.10, v21.10-rc1, v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1, v20.10, v20.10-rc1, v20.07, v20.07-rc1, v20.04.1, v20.01.2, v20.04, v20.04-rc1 |
|
#
cfb65ba6 |
| 20-Apr-2020 |
Jim Harris <james.r.harris@intel.com> |
test: add generic unlink wrapper
reduce library uses unlink, but the unit tests need to override it in a specific way.
But linking unit tests with LTO requires the wrapper definitions be in objects
test: add generic unlink wrapper
reduce library uses unlink, but the unit tests need to override it in a specific way.
But linking unit tests with LTO requires the wrapper definitions be in objects/libraries listed *after* the object/library that refers to it. So we need to make the unlink wrapper somewhat generic. We do this by exporting a string and callback function that the user can set to enable a user-defined function to be called when unlink() is called with a specific file name.
Also revert 3ef6d06 as part of this patch, since we no longer require the workaround that it implemented.
Fixes issue #1357.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I1ee4c424ad31fe7d91d7b524ed47aedd279e5b5c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1948 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v20.01.1 |
|
#
dcf0ca15 |
| 11-Mar-2020 |
Vitaliy Mysak <vitaliy.mysak@intel.com> |
ut: make use of CUnit macro to reduce duplications
CUnit provides a helper macro CU_ADD_TEST() that simplifies usage of CU_add_test() function. Test name no longer needs to be provided, as it will b
ut: make use of CUnit macro to reduce duplications
CUnit provides a helper macro CU_ADD_TEST() that simplifies usage of CU_add_test() function. Test name no longer needs to be provided, as it will be inherited from function name.
This is a follow up to https://review.spdk.io/gerrit/c/spdk/spdk/+/931
Change-Id: I8078f02e08b14f12328ae022d7090ba13fbd64e4 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1239 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
#
78b696bc |
| 11-Mar-2020 |
Vitaliy Mysak <vitaliy.mysak@intel.com> |
ut: simplify error handling at initialization
This patch changes the way that unittests initialize. The new way is shorter and simpler. It assumes that error during initialization is a fatal error,
ut: simplify error handling at initialization
This patch changes the way that unittests initialize. The new way is shorter and simpler. It assumes that error during initialization is a fatal error, but in our cases it always is.
This patch is a followp up to https://review.spdk.io/gerrit/c/spdk/spdk/+/930
lvol_ut.c is the only test that skipped because it runs same tests multiple times which is not allowed by new method.
Change-Id: I0baf7ad09a35d5fca2dc4a03b4453c12c14f38a7 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1238 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v20.01, v20.01-rc1, v19.10.1 |
|
#
4328a67e |
| 16-Dec-2019 |
Seth Howell <seth.howell@intel.com> |
lib/reduce: add array bounds checking for iovs.
We also need to make sure that the deconm_iov is large enough to handle all of the iovs we claim to support plus 2, one for offset into the chunk when
lib/reduce: add array bounds checking for iovs.
We also need to make sure that the deconm_iov is large enough to handle all of the iovs we claim to support plus 2, one for offset into the chunk when doing writes and one for the remainder. Plus a unittest to demonstrate the possible out of bounds error in the library.
Change-Id: I7747ad39f76e50f25ecf5168b01e046f71fa0ea8 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478125 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v19.10, v19.10-rc1, v19.07.1 |
|
#
2b336507 |
| 15-Aug-2019 |
paul luse <paul.e.luse@intel.com> |
test/reduce: support iovecs in compress/decompress UT
To avoid changing the actual compress/decompress routines, just use a scratch buffer to support incoming iovecs.
Signed-off-by: paul luse <paul
test/reduce: support iovecs in compress/decompress UT
To avoid changing the actual compress/decompress routines, just use a scratch buffer to support incoming iovecs.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I55851866dd1b2d9c0eb44fac35d050d7abd00e4e Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465355 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
#
cc6314a4 |
| 14-Aug-2019 |
paul luse <paul.e.luse@intel.com> |
test/reduce: fix reduce UT pm file length calculation
First in a series to fix broken reduce unit tests, they have not been running in CI for quite some time. Once they are working again, will have
test/reduce: fix reduce UT pm file length calculation
First in a series to fix broken reduce unit tests, they have not been running in CI for quite some time. Once they are working again, will have Jenkins udpated to make sure they are run per patch.
Change-Id: I12767dfea61a2e9a1ced85b9b247b5aeadc1edde Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465207 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v19.07 |
|
#
4617707d |
| 26-Jun-2019 |
Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
reduce: switch to spdk_*malloc()
spdk_dma_*malloc() is about to be deprecated.
Change-Id: I140e10b2fd07efb48e664cfa00e1d60f604abd21 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Revi
reduce: switch to spdk_*malloc()
spdk_dma_*malloc() is about to be deprecated.
Change-Id: I140e10b2fd07efb48e664cfa00e1d60f604abd21 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449797 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>
show more ...
|
Revision tags: v19.04.1, v19.04, v18.10.2 |
|
#
1679104e |
| 28-Mar-2019 |
Jim Harris <james.r.harris@intel.com> |
ut/reduce: use compress algorithm
The unit tests to this point used an algorithm that just copied the data as-is with no compression. Change it now to use the actual unit test compression algorithm.
ut/reduce: use compress algorithm
The unit tests to this point used an algorithm that just copied the data as-is with no compression. Change it now to use the actual unit test compression algorithm.
A few unit tests need to be modified to account for the compressible buffers - primarily those that write a single 512 byte LBA in a 16KB chunk. These will now be compressed down to a single I/O unit, so some of the asserts need to be changed to adjust for this.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I11b2c92b1d6f710a301c8a3b0961f76c9f4886d4
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449567 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> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
cdd64c1c |
| 29-Mar-2019 |
Jim Harris <james.r.harris@intel.com> |
ut/reduce: modify write_maps test to write full chunks
This test verifies that all of the io_unit_index[] entries are written. For that to really happen, the write for the chunks must not be compre
ut/reduce: modify write_maps test to write full chunks
This test verifies that all of the io_unit_index[] entries are written. For that to really happen, the write for the chunks must not be compressible. Currently the compress algorithm just copies the data and doesn't actually compress - so writing a partial chunk works OK for this test. But upcoming patches will add a 'real' compression unit test algorithm - at which point, writing just part of a chunk will be compressible since the non-written parts will be all zero.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib48b9bb5a782571689b281a955e01682e21ee223
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449566 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> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
27631eb5 |
| 28-Mar-2019 |
Jim Harris <james.r.harris@intel.com> |
ut/reduce: move ut_compress/decompress functions
This just moves code to prepare for these functions to be used earlier in the file without adding extra function declarations.
Move ut_build_data_bu
ut/reduce: move ut_compress/decompress functions
This just moves code to prepare for these functions to be used earlier in the file without adding extra function declarations.
Move ut_build_data_buffer as well for similar reasons.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ifd4fb4abbd43aaa01fca3b73bbfd847ffdd4d6f7
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449512 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> 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>
show more ...
|
#
c1bab69c |
| 28-Mar-2019 |
Jim Harris <james.r.harris@intel.com> |
ut/reduce: add ut_build_data_buffer function
This function can be used to create data buffers with varying levels of compression - we'll use this in upcoming patches to test how lib/reduce actually
ut/reduce: add ut_build_data_buffer function
This function can be used to create data buffers with varying levels of compression - we'll use this in upcoming patches to test how lib/reduce actually handles compressed buffers.
Modify the unit tests for the compression algorithm to use this new function as well.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib065898a228c405b201092b718c2f0b920104129
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449500 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|