aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-10-07 12:44:12 -0700
committerGitHub <[email protected]>2016-10-07 12:44:12 -0700
commit482cd9ee69e88710e9241fac220501ea4e101d19 (patch)
tree9bb11d4140ea21a20fad830916cda2861bd47a28 /lib/libzfs
parent48f783de792727c26f43983155bac057c296e44d (diff)
parent5bf703b8f381b6a8a89a2c251ba04dc9db59bcd6 (diff)
Fletcher4: Incremental updates and ctx calculation
Fixes ABI issues with fletcher4 code, adds support for incremental updates, and adds ztest method for testing. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Chunwei Chen <[email protected]> Signed-off-by: Gvozden Neskovic <[email protected]> Closes #5164
Diffstat (limited to 'lib/libzfs')
-rwxr-xr-xlib/libzfs/libzfs_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c
index 8fec78283..2f29027c9 100755
--- a/lib/libzfs/libzfs_util.c
+++ b/lib/libzfs/libzfs_util.c
@@ -51,6 +51,7 @@
#include "libzfs_impl.h"
#include "zfs_prop.h"
#include "zfeature_common.h"
+#include <zfs_fletcher.h>
int
libzfs_errno(libzfs_handle_t *hdl)
@@ -876,6 +877,7 @@ libzfs_init(void)
zpool_prop_init();
zpool_feature_init();
libzfs_mnttab_init(hdl);
+ fletcher_4_init();
return (hdl);
}
@@ -898,6 +900,7 @@ libzfs_fini(libzfs_handle_t *hdl)
namespace_clear(hdl);
libzfs_mnttab_fini(hdl);
libzfs_core_fini();
+ fletcher_4_fini();
free(hdl);
}