| 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 ...
|
| 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 ...
|