]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/zfs_ioctl.h
Add zpool_events_seek() functionality
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Nov 2013 22:52:16 +0000 (14:52 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 31 Mar 2014 23:10:57 +0000 (16:10 -0700)
commit75e3ff58feda2d836c4546c5dc2e98fcd2d1a67b
tree56f18f143be48ff4b4d06f93ddc730e77cd9a2f6
parenta2f1945ee3ce8eba02ef54168c72f3be8f2cebdc
Add zpool_events_seek() functionality

The ZFS_IOC_EVENTS_SEEK ioctl was added to allow user space callers
to seek around the zevent file descriptor by EID.  When a specific
EID is passed and it exists the cursor will be positioned there.
If the EID is no longer cached by the kernel ENOENT is returned.
The caller may also pass ZEVENT_SEEK_START or ZEVENT_SEEK_END to seek
to those respective locations.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Issue #2
include/libzfs.h
include/sys/fm/util.h
include/sys/fs/zfs.h
include/sys/zfs_ioctl.h
lib/libzfs/libzfs_pool.c
module/zfs/fm.c
module/zfs/zfs_ioctl.c