mirror_zfs/cmd
Brian Behlendorf 9b101a7320 Clarify zpool_events_next() comment
Due to the very poorly chosen argument name 'cleanup_fd' it was
completely unclear that this file descriptor is used to track the
current cursor location.  When the file descriptor is created by
opening ZFS_DEV a private cursor is created in the kernel for the
returned file descriptor.  Subsequent calls to zpool_events_next()
and zpool_events_seek() then require the file descriptor as an
argument to reposition the cursor.  When the file descriptor is
closed the kernel state tracking the cursor is destroyed.

This patch contains no functional change, it just changes a
few variable names and clarifies the documentation.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Issue #2
2014-03-31 16:11:08 -07:00
..
arcstat sighandler() should take 2 arguments 2014-03-20 11:03:46 -07:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add full SELinux support 2013-12-19 10:37:31 -08:00
vdev_id vdev_id: support per-channel slot mappings 2014-01-17 11:17:54 -08:00
zdb cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zfs Enable /etc/mtab cache to improve performance 2014-01-07 09:48:09 -08:00
zhack Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zinject Illumos #3120 zinject hangs in zfsdev_ioctl() due to uninitialized zc 2014-03-24 11:06:11 -07:00
zpios Fix error message in zpios 2014-01-29 15:11:56 -08:00
zpool Clarify zpool_events_next() comment 2014-03-31 16:11:08 -07:00
zstreamdump Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
ztest Switch ztest mmap(2) ASSERTs to VERIFYs 2014-03-12 09:05:00 -07:00
zvol_id cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Add dbufstat.py command 2013-10-25 14:52:45 -07:00