Changeset View
Changeset View
Standalone View
Standalone View
cddl/usr.sbin/zfsd/zfsd.cc
Show All 36 Lines | |||||
* unix domain socket in order to react to system changes that impact | * unix domain socket in order to react to system changes that impact | ||||
* the function of ZFS storage pools. The goal of this daemon is to | * the function of ZFS storage pools. The goal of this daemon is to | ||||
* provide similar functionality to the Solaris ZFS Diagnostic Engine | * provide similar functionality to the Solaris ZFS Diagnostic Engine | ||||
* (zfs-diagnosis), the Solaris ZFS fault handler (zfs-retire), and | * (zfs-diagnosis), the Solaris ZFS fault handler (zfs-retire), and | ||||
* the Solaris ZFS vdev insertion agent (zfs-mod sysevent handler). | * the Solaris ZFS vdev insertion agent (zfs-mod sysevent handler). | ||||
*/ | */ | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
#include <sys/byteorder.h> | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/fs/zfs.h> | #include <sys/fs/zfs.h> | ||||
#include <err.h> | #include <err.h> | ||||
#include <fcntl.h> | |||||
#include <libgeom.h> | #include <libgeom.h> | ||||
#include <libutil.h> | #include <libutil.h> | ||||
#include <poll.h> | #include <poll.h> | ||||
#include <syslog.h> | #include <syslog.h> | ||||
#include <libzfs.h> | #include <libzfs.h> | ||||
#include <list> | #include <list> | ||||
▲ Show 20 Lines • Show All 391 Lines • Show Last 20 Lines |