-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port of draid from coral-beta-draid branch
Up to and including b6ca80d723b4b9139d3133114a17d019149eb1a4 Signed-off-by: Isaac Huang <[email protected]>
- Loading branch information
1 parent
0667531
commit 9c89682
Showing
39 changed files
with
3,988 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
*.mod.c | ||
*~ | ||
*.swp | ||
*.orig | ||
.deps | ||
.libs | ||
.dirstamp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/draidcfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.