When creating the raid_bdev with enabled superblock option, write the superblock to the base bdevs before bringing the array online. Change-Id: I24659202ef3bbe6c87ca8603d514bd81660c9b41 Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
24 lines
509 B
Makefile
24 lines
509 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
SO_VER := 5
|
|
SO_MINOR := 0
|
|
|
|
CFLAGS += -I$(SPDK_ROOT_DIR)/lib/bdev/
|
|
C_SRCS = bdev_raid.c bdev_raid_rpc.c bdev_raid_sb.c raid0.c raid1.c concat.c
|
|
|
|
ifeq ($(CONFIG_RAID5F),y)
|
|
C_SRCS += raid5f.c
|
|
endif
|
|
|
|
LIBNAME = bdev_raid
|
|
|
|
SPDK_MAP_FILE = $(SPDK_ROOT_DIR)/mk/spdk_blank.map
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|