Deleted Added
full compact
zfs_ioctl.h (231946) zfs_ioctl.h (248369)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 232 unchanged lines hidden (view full) ---

241 uint32_t zi_error;
242 uint64_t zi_type;
243 uint32_t zi_freq;
244 uint32_t zi_failfast;
245 char zi_func[MAXNAMELEN];
246 uint32_t zi_iotype;
247 int32_t zi_duration;
248 uint64_t zi_timer;
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 232 unchanged lines hidden (view full) ---

241 uint32_t zi_error;
242 uint64_t zi_type;
243 uint32_t zi_freq;
244 uint32_t zi_failfast;
245 char zi_func[MAXNAMELEN];
246 uint32_t zi_iotype;
247 int32_t zi_duration;
248 uint64_t zi_timer;
249 uint32_t zi_cmd;
250 uint32_t zi_pad;
249} zinject_record_t;
250
251#define ZINJECT_NULL 0x1
252#define ZINJECT_FLUSH_ARC 0x2
253#define ZINJECT_UNLOAD_SPA 0x4
254
251} zinject_record_t;
252
253#define ZINJECT_NULL 0x1
254#define ZINJECT_FLUSH_ARC 0x2
255#define ZINJECT_UNLOAD_SPA 0x4
256
257typedef enum zinject_type {
258 ZINJECT_UNINITIALIZED,
259 ZINJECT_DATA_FAULT,
260 ZINJECT_DEVICE_FAULT,
261 ZINJECT_LABEL_FAULT,
262 ZINJECT_IGNORED_WRITES,
263 ZINJECT_PANIC,
264 ZINJECT_DELAY_IO,
265} zinject_type_t;
266
255typedef struct zfs_share {
256 uint64_t z_exportdata;
257 uint64_t z_sharedata;
258 uint64_t z_sharetype; /* 0 = share, 1 = unshare */
259 uint64_t z_sharemax; /* max length of share string */
260} zfs_share_t;
261
262/*

--- 102 unchanged lines hidden ---
267typedef struct zfs_share {
268 uint64_t z_exportdata;
269 uint64_t z_sharedata;
270 uint64_t z_sharetype; /* 0 = share, 1 = unshare */
271 uint64_t z_sharemax; /* max length of share string */
272} zfs_share_t;
273
274/*

--- 102 unchanged lines hidden ---