Skip to content

Commit

Permalink
Port of draid from coral-beta-draid branch
Browse files Browse the repository at this point in the history
Up to and including b6ca80d723b4b9139d3133114a17d019149eb1a4

Signed-off-by: Isaac Huang <[email protected]>
  • Loading branch information
huangheintel committed Mar 10, 2017
1 parent ef1bdf3 commit a4191d2
Show file tree
Hide file tree
Showing 39 changed files with 3,988 additions and 138 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*.mod.c
*~
*.swp
*.orig
.deps
.libs
.dirstamp
Expand Down
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 zpios
SUBDIRS += mount_zfs fsck_zfs zvol_id vdev_id arcstat dbufstat zed
SUBDIRS += arc_summary raidz_test
SUBDIRS += arc_summary raidz_test 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 a4191d2

Please sign in to comment.