Optimize RAIDZ expansion
[zfs.git] / cmd / zed / zed.h
blob94f13c2c9da7ef35d68e126488037471c25e5a56
1 /*
2 * This file is part of the ZFS Event Daemon (ZED).
4 * Developed at Lawrence Livermore National Laboratory (LLNL-CODE-403049).
5 * Copyright (C) 2013-2014 Lawrence Livermore National Security, LLC.
6 * Refer to the OpenZFS git commit log for authoritative copyright attribution.
8 * The contents of this file are subject to the terms of the
9 * Common Development and Distribution License Version 1.0 (CDDL-1.0).
10 * You can obtain a copy of the license from the top-level file
11 * "OPENSOLARIS.LICENSE" or at <http://opensource.org/licenses/CDDL-1.0>.
12 * You may not use this file except in compliance with the license.
15 #ifndef ZED_H
16 #define ZED_H
19 * Absolute path for the default zed pid file.
21 #define ZED_PID_FILE RUNSTATEDIR "/zed.pid"
24 * Absolute path for the default zed state file.
26 #define ZED_STATE_FILE RUNSTATEDIR "/zed.state"
29 * Absolute path for the default zed zedlet directory.
31 #define ZED_ZEDLET_DIR SYSCONFDIR "/zfs/zed.d"
34 * String prefix for ZED variables passed via environment variables.
36 #define ZED_VAR_PREFIX "ZED_"
39 * String prefix for ZFS event names passed via environment variables.
41 #define ZEVENT_VAR_PREFIX "ZEVENT_"
43 #endif /* !ZED_H */