forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CCS 59] provide APIs for pool/ds creation and reads/writes over DMU (o…
…penzfs#11) * [CCS 59] uZFS API to call dmu from istgt * [CCS-59] fix in travis and header for pkg-utils * Adding other header files for make pkg build * [CCS 59] added few header files to build pkg mod * [CCS 59]cstyle fixes, adding cstyle check to travis * Remove unnecessary header files,added TOTAL_TIME env * Incorporating review comments [CCS 59] * cstyle fix, removed getenv in uzfs_test * Merged libuzfs_ioctl into zfs_ioctl * cstyle fix, removed cstyle from travis * compilation issue with non-uzfs and userspace build Once zvol is created using 'zfs create -V' command, it can be opened by doing 'uzfs_open_dataset()', and use uzfs_write_data() and uzfs_read_data() APIs for doing IOs.
- Loading branch information
1 parent
2d27bf6
commit 7887dc9
Showing
20 changed files
with
1,435 additions
and
1,630 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
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 = zfs zpool zdb zhack zinject zstreamdump ztest uzfs_test zpios | ||
SUBDIRS += mount_zfs fsck_zfs zvol_id vdev_id arcstat dbufstat zed | ||
SUBDIRS += arc_summary raidz_test zgenhostid tgt |
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,24 @@ | ||
include $(top_srcdir)/config/Rules.am | ||
|
||
# -Wnoformat-truncation to get rid of compiler warning for unchecked | ||
# truncating snprintfs on gcc 7.1.1. | ||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN) $(NO_FORMAT_TRUNCATION) | ||
AM_CPPFLAGS += -DDEBUG | ||
|
||
DEFAULT_INCLUDES += \ | ||
-I$(top_srcdir)/include \ | ||
-I$(top_srcdir)/lib/libspl/include | ||
|
||
sbin_PROGRAMS = uzfs_test | ||
|
||
uzfs_test_SOURCES = \ | ||
uzfs_test.c | ||
|
||
uzfs_test_LDADD = \ | ||
$(top_builddir)/lib/libnvpair/libnvpair.la \ | ||
$(top_builddir)/lib/libuutil/libuutil.la \ | ||
$(top_builddir)/lib/libzpool/libzpool.la \ | ||
$(top_builddir)/lib/libzfs/libzfs.la \ | ||
$(top_builddir)/lib/libzfs_core/libzfs_core.la | ||
|
||
uzfs_test_LDADD += -lm |
Oops, something went wrong.