Skip to content

Commit

Permalink
dRAID implementation.
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Huang <[email protected]>
  • Loading branch information
huangheintel committed May 1, 2018
1 parent eb201f5 commit f458730
Show file tree
Hide file tree
Showing 50 changed files with 4,514 additions and 185 deletions.
2 changes: 1 addition & 1 deletion cmd/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SUBDIRS = zfs zpool zdb zhack zinject zstreamdump ztest
SUBDIRS += mount_zfs fsck_zfs zvol_id vdev_id arcstat dbufstat zed
SUBDIRS += arc_summary raidz_test zgenhostid
SUBDIRS += arc_summary raidz_test zgenhostid draidcfg
1 change: 1 addition & 0 deletions cmd/draidcfg/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/draidcfg
20 changes: 20 additions & 0 deletions cmd/draidcfg/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
include $(top_srcdir)/config/Rules.am

AM_CPPFLAGS += -DDEBUG

DEFAULT_INCLUDES += \
-I$(top_srcdir)/include \
-I$(top_srcdir)/lib/libspl/include

bin_PROGRAMS = draidcfg

draidcfg_SOURCES = \
draidcfg.c \
draid_permutation.c \
draid_permutation.h

draidcfg_LDADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libzpool/libzpool.la \
$(top_builddir)/lib/libzfs/libzfs.la
draidcfg_LDADD += -lm
Loading

0 comments on commit f458730

Please sign in to comment.