Commit 83a4b155 authored by Artur Paszkiewicz's avatar Artur Paszkiewicz Committed by Konrad Sztyber
Browse files

module/raid: raid5: rename to raid5f



Signed-off-by: default avatarArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Change-Id: I4ccd54f995f0f413dadd700ba3f6ed82fe17e223
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12395


Reviewed-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
parent 7fc2c085
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -28,6 +28,12 @@ New options `enable_ktls` and `tls_version` were added to the `sock_impl_set_opt
Added warning message for `bdev_rbd_create`, if it is used without -c.
`bdev_rbd_create()` API without specifying -c is deprecated and will be removed in future release.

### raid

Renamed the `raid5` module to `raid5f` to reflect that it is not a traditional
RAID5 implementation - only full stripe writes are supported, partial stripe
writes (read-modify-write) are not.

## v22.05

### sock
+2 −2
Original line number Diff line number Diff line
@@ -166,8 +166,8 @@ CONFIG_OPENSSL_PATH=
# Build with FUSE support
CONFIG_FUSE=n

# Build with RAID5 support
CONFIG_RAID5=n
# Build with RAID5f support
CONFIG_RAID5F=n

# Build with IDXD support
# In this mode, SPDK fully controls the DSA device.
+6 −6
Original line number Diff line number Diff line
@@ -101,8 +101,8 @@ function usage() {
	echo " --without-fuse            No path required."
	echo " --with-nvme-cuse          Build NVMe driver with support for CUSE-based character devices."
	echo " --without-nvme-cuse       No path required."
	echo " --with-raid5              Build with bdev_raid module RAID5 support."
	echo " --without-raid5           No path required."
	echo " --with-raid5f             Build with bdev_raid module RAID5f support."
	echo " --without-raid5f          No path required."
	echo " --with-wpdk=DIR           Build using WPDK to provide support for Windows (experimental)."
	echo " --without-wpdk            The argument must be a directory containing lib and include."
	echo " --with-usdt               Build with userspace DTrace probes enabled."
@@ -616,11 +616,11 @@ for i in "$@"; do
		--without-nvme-cuse)
			CONFIG[NVME_CUSE]=n
			;;
		--with-raid5)
			CONFIG[RAID5]=y
		--with-raid5f)
			CONFIG[RAID5F]=y
			;;
		--without-raid5)
			CONFIG[RAID5]=n
		--without-raid5f)
			CONFIG[RAID5F]=n
			;;
		--with-idxd)
			CONFIG[IDXD]=y
+2 −2
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@ SO_MINOR := 0
CFLAGS += -I$(SPDK_ROOT_DIR)/lib/bdev/
C_SRCS = bdev_raid.c bdev_raid_rpc.c raid0.c concat.c

ifeq ($(CONFIG_RAID5),y)
C_SRCS += raid5.c
ifeq ($(CONFIG_RAID5F),y)
C_SRCS += raid5f.c
endif

LIBNAME = bdev_raid
+2 −2
Original line number Diff line number Diff line
@@ -879,8 +879,8 @@ static struct {
} g_raid_level_names[] = {
	{ "raid0", RAID0 },
	{ "0", RAID0 },
	{ "raid5", RAID5 },
	{ "5", RAID5 },
	{ "raid5f", RAID5F },
	{ "5f", RAID5F },
	{ "concat", CONCAT },
	{ }
};
Loading