mirror_zfs/cmd
Matthew Macy da92d5cbb3 Add zfs_file_* interface, remove vnodes
Provide a common zfs_file_* interface which can be implemented on all 
platforms to perform normal file access from either the kernel module
or the libzpool library.

This allows all non-portable vnode_t usage in the common code to be 
replaced by the new portable zfs_file_t.  The associated vnode and
kobj compatibility functions, types, and macros have been removed
from the SPL.  Moving forward, vnodes should only be used in platform
specific code when provided by the native operating system.

Reviewed-by: Sean Eric Fagan <sef@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9556
2019-11-21 09:32:57 -08:00
..
arc_summary Isolate code specific to Linux in cmd/ 2019-11-11 09:24:04 -08:00
arcstat Isolate code specific to Linux in cmd/ 2019-11-11 09:24:04 -08:00
dbufstat Detect if sed supports --in-place 2019-10-16 19:19:48 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
raidz_test Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zed OpenZFS restructuring - libzutil 2019-10-03 10:20:44 -07:00
zfs Remove requirement for -d 1 for zfs list and zfs get with bookmarks 2019-11-18 16:44:28 -08:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zinject Remove ECKSUM alias in zinject 2019-11-01 10:31:42 -07:00
zpool Add wrapper for Linux BLKFLSBUF ioctl 2019-10-28 09:53:39 -07:00
zstreamdump OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
ztest Add zfs_file_* interface, remove vnodes 2019-11-21 09:32:57 -08:00
zvol_id OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zvol_wait zvol_wait should ignore redacted zvols 2019-11-06 10:51:19 -08:00
Makefile.am Isolate code specific to Linux in cmd/ 2019-11-11 09:24:04 -08:00