Print this page
*** NO COMMENTS ***
@@ -21,10 +21,14 @@
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+/*
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ */
+
#ifndef _LIBBE_H
#define _LIBBE_H
#include <libnvpair.h>
#include <uuid/uuid.h>
@@ -56,10 +60,11 @@
#define BE_ATTR_ROOT_DS "root_ds"
#define BE_ATTR_UUID_STR "uuid_str"
#define BE_ATTR_ACTIVE "active"
#define BE_ATTR_ACTIVE_ON_BOOT "active_boot"
+#define BE_ATTR_GLOBAL_ACTIVE "global_active"
#define BE_ATTR_SPACE "space_used"
#define BE_ATTR_DATASET "dataset"
#define BE_ATTR_STATUS "status"
#define BE_ATTR_DATE "date"
#define BE_ATTR_MOUNTED "mounted"
@@ -164,10 +169,12 @@
typedef struct be_node_list {
boolean_t be_mounted; /* is BE currently mounted */
boolean_t be_active_on_boot; /* is this BE active on boot */
boolean_t be_active; /* is this BE active currently */
+ boolean_t be_global_active; /* is zone's BE associated with */
+ /* an active global BE */
uint64_t be_space_used;
char *be_node_name;
char *be_rpool;
char *be_root_ds;
char *be_mntpt;