zed: remove zed_conf::{min,max}_events and ZED_{MIN,MAX}_EVENTS
No users, fields marked "reserved for future use", macros defined to 0 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11860
This commit is contained in:
parent
c30fef2523
commit
f96dbd7a29
|
@ -30,16 +30,6 @@
|
||||||
*/
|
*/
|
||||||
#define ZED_ZEDLET_DIR SYSCONFDIR "/zfs/zed.d"
|
#define ZED_ZEDLET_DIR SYSCONFDIR "/zfs/zed.d"
|
||||||
|
|
||||||
/*
|
|
||||||
* Reserved for future use.
|
|
||||||
*/
|
|
||||||
#define ZED_MAX_EVENTS 0
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Reserved for future use.
|
|
||||||
*/
|
|
||||||
#define ZED_MIN_EVENTS 0
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* String prefix for ZED variables passed via environment variables.
|
* String prefix for ZED variables passed via environment variables.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -43,8 +43,6 @@ zed_conf_create(void)
|
||||||
if (!zcp)
|
if (!zcp)
|
||||||
goto nomem;
|
goto nomem;
|
||||||
|
|
||||||
zcp->min_events = ZED_MIN_EVENTS;
|
|
||||||
zcp->max_events = ZED_MAX_EVENTS;
|
|
||||||
zcp->pid_fd = -1;
|
zcp->pid_fd = -1;
|
||||||
zcp->zedlets = NULL; /* created via zed_conf_scan_dir() */
|
zcp->zedlets = NULL; /* created via zed_conf_scan_dir() */
|
||||||
zcp->state_fd = -1; /* opened via zed_conf_open_state() */
|
zcp->state_fd = -1; /* opened via zed_conf_open_state() */
|
||||||
|
|
|
@ -26,8 +26,6 @@ struct zed_conf {
|
||||||
unsigned do_verbose:1; /* true if verbosity enabled */
|
unsigned do_verbose:1; /* true if verbosity enabled */
|
||||||
unsigned do_zero:1; /* true if zeroing state */
|
unsigned do_zero:1; /* true if zeroing state */
|
||||||
unsigned do_idle:1; /* true if idle enabled */
|
unsigned do_idle:1; /* true if idle enabled */
|
||||||
int min_events; /* RESERVED FOR FUTURE USE */
|
|
||||||
int max_events; /* RESERVED FOR FUTURE USE */
|
|
||||||
char *pid_file; /* abs path to pid file */
|
char *pid_file; /* abs path to pid file */
|
||||||
int pid_fd; /* fd to pid file for lock */
|
int pid_fd; /* fd to pid file for lock */
|
||||||
char *zedlet_dir; /* abs path to zedlet dir */
|
char *zedlet_dir; /* abs path to zedlet dir */
|
||||||
|
|
Loading…
Reference in New Issue