cc94f303 | 23-Apr-2024 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
raid1: handle read errors
If a read fails, try reading from other base bdevs and if that succeeds, write to the bdev that returned the read error.
Signed-off-by: Artur Paszkiewicz <artur.paszkiewic
raid1: handle read errors
If a read fails, try reading from other base bdevs and if that succeeds, write to the bdev that returned the read error.
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: Iffca8921d0177e16f1ac3d661b8b6131f3dbd39f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22974 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
b0b0889e | 18-Apr-2024 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
raid1: handle write errors
Fail base bdev on write error. If write to at least one base bdev succeeds, complete the raid I/O as successful.
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel
raid1: handle write errors
Fail base bdev on write error. If write to at least one base bdev succeeds, complete the raid I/O as successful.
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I0315f98937a548648f819bf7e8c5707d7adec991 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22846 Community-CI: Mellanox Build Bot 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>
show more ...
|
1b9c5629 | 17-Apr-2024 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
raid: move the raid I/O wrappers back to the header
Instead of having these in bdev_raid.c, just make raid_bdev_remap_dix_reftag() public. This allows to have the unit tests a little simpler and bet
raid: move the raid I/O wrappers back to the header
Instead of having these in bdev_raid.c, just make raid_bdev_remap_dix_reftag() public. This allows to have the unit tests a little simpler and better reflecting the real behavior.
This effectively reverts 2c9dfc37c ("module/raid: Move the RAID I/O wrappers").
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I92de84d7cbc233f5d744aedf6e77d0728ecdaa72 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22828 Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
a4e1703e | 01-Jun-2023 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
module/raid: put relevant bdev_io data in raid_bdev_io
Everything the raid modules need will be in struct raid_bdev_io, they won't access spdk_bdev_io fields directly. This will simplify the raid mo
module/raid: put relevant bdev_io data in raid_bdev_io
Everything the raid modules need will be in struct raid_bdev_io, they won't access spdk_bdev_io fields directly. This will simplify the raid modules' code and expose only what's needed. It will also allow easier implementation of functionality like raid_io splitting (in the following patches), which needs to alter the io in some way.
Change-Id: I26abf6d3397109a15251d279926ad28d7ea22105 Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18734 Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
5da1742b | 04-Nov-2022 |
Krzysztof Smolinski <krzysztof.smolinski@intel.com> |
test/raid1: unit tests for read balancing
Change-Id: Ic42bfe8be2d0d76e804a82b4837391384f01f8f8 Signed-off-by: Krzysztof Smolinski <krzysztof.smolinski@intel.com> Signed-off-by: Artur Paszkiewicz <ar
test/raid1: unit tests for read balancing
Change-Id: Ic42bfe8be2d0d76e804a82b4837391384f01f8f8 Signed-off-by: Krzysztof Smolinski <krzysztof.smolinski@intel.com> Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15272 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|