From 6f7938128a2c5e23f4b970ea101137eadd1470a1 Mon Sep 17 00:00:00 2001 From: Pavel Zakharov Date: Fri, 22 Jul 2016 10:39:36 -0400 Subject: 9075 Improve ZFS pool import/load process and corrupted pool recovery Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Andrew Stormont Approved by: Hans Rosenfeld --- usr/src/lib/libzfs/common/libzfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/src/lib/libzfs/common/libzfs.h') diff --git a/usr/src/lib/libzfs/common/libzfs.h b/usr/src/lib/libzfs/common/libzfs.h index b653f19a76..5011f923d2 100644 --- a/usr/src/lib/libzfs/common/libzfs.h +++ b/usr/src/lib/libzfs/common/libzfs.h @@ -388,6 +388,7 @@ typedef struct importargs { int can_be_active : 1; /* can the pool be active? */ int unique : 1; /* does 'poolname' already exist? */ int exists : 1; /* set on return if pool already exists */ + nvlist_t *policy; /* rewind policy (rewind txg, etc.) */ } importargs_t; extern nvlist_t *zpool_search_import(libzfs_handle_t *, importargs_t *); -- cgit v1.2.3