Loading
raid: superblock interleaved md support
Correctly write and read superblock from bdevs with interleaved metadata. For writes, use a second buffer and copy the sb contents there before writing, leaving "gaps" for md. For reads, rewrite the buffer, removing the md, before parsing the superblock. Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: Id133bb34abecdc82d89604abfa3e3ba7b777961f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21680 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot