| f2f4b5f2 | 25-Oct-2024 |
Jinlong Chen <chenjinlong.cjl@alibaba-inc.com> |
vbdev_error: increase ch->io_inflight before submitting
Increase the inflight I/O count in advance to avoid problem when the I/O is completed in submit.
Change-Id: I81e27ef6feafed018856ed916878c6f1
vbdev_error: increase ch->io_inflight before submitting
Increase the inflight I/O count in advance to avoid problem when the I/O is completed in submit.
Change-Id: I81e27ef6feafed018856ed916878c6f14b7a39c5 Signed-off-by: Jinlong Chen <chenjinlong.cjl@alibaba-inc.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25374 Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeliu@tencent.com>
show more ...
|
| 4dacace1 | 01-Aug-2023 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
bdev/error: add queue_depth option for error injection
Change-Id: If0805475eea4b3d160ee4a39d617683df9375971 Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review
bdev/error: add queue_depth option for error injection
Change-Id: If0805475eea4b3d160ee4a39d617683df9375971 Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19316 Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
| 3d2a3ee4 | 28-Oct-2022 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
bdev/error: Support injecting data corruption into I/O buffer
Support injecting data corruption for processing read/write I/O.
Add two parameters, corrupt_offset and corrupt_value, and an error typ
bdev/error: Support injecting data corruption into I/O buffer
Support injecting data corruption for processing read/write I/O.
Add two parameters, corrupt_offset and corrupt_value, and an error type corrupt_data.
For write I/O, inject data corruption before submitting write I/O to the underlying bdev. For read I/O, inject data corruption after read I/O successfully returned.
Cause the data corruption by xoring the value at the corrupt_offset with the corrupt_value. corrupt_value is required to be non-zero to cause data corruption necessarily.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I67d8d252b06d7a221413e74996f7f894e6519556 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15028 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot
show more ...
|
| fa5e7d1b | 25-Oct-2022 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
bdev/error: Use switch-case to process error injection at submission
The following patches will support data corruption. For write I/O, data corruption will be injected before submission, and for re
bdev/error: Use switch-case to process error injection at submission
The following patches will support data corruption. For write I/O, data corruption will be injected before submission, and for read I/O, data corruption will be injected after completion.
To do these cleanly, use switch-case and reorder to process error injection at submission.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I3b830b4331cb4c7d0794a555957cdcc73902c14f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15026 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot
show more ...
|
| 7078874b | 25-Oct-2022 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
bdev/error: Passthrough I/Os other than read, write, unmap, or flush
If we use error bdev in general use cases, the upper layer may submit I/O commands other than read, write, unmap, or flush.
Howe
bdev/error: Passthrough I/Os other than read, write, unmap, or flush
If we use error bdev in general use cases, the upper layer may submit I/O commands other than read, write, unmap, or flush.
However, before this patch, the upper layer could submit only read, write, unmap, and flush.
To improve the usability of error bdev, pass thorugh I/Os other than read, write, unmap, or flush.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ia642b13771f42505055f1372733825153085b805 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15027 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: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
show more ...
|
| ffee98dd | 17-Oct-2022 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
bdev/error: Consolidate params for injection into a options structure
This will make it easier to add more parameters for error injection.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Ch
bdev/error: Consolidate params for injection into a options structure
This will make it easier to add more parameters for error injection.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ie5b22c31b5ba9d8c256d369213fa8fb4b985fa26 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15025 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: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
show more ...
|