OpenZFS restructuring - zfs_ioctl

Refactor the zfs ioctls in to platform dependent and independent bits.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Sean Eric Fagan <sef@ixsystems.com>
Signed-off-by: Matthew Macy <mmacy@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9301
This commit is contained in:
Matthew Macy
2019-09-27 10:46:28 -07:00
committed by Brian Behlendorf
parent 3768db24ab
commit 7bb0c29468
9 changed files with 511 additions and 337 deletions
+2
View File
@@ -39,6 +39,8 @@ extern "C" {
#include <sys/zfs_context.h>
#include <sys/refcount.h>
extern uint_t rrw_tsd_key;
/*
* A reader-writer lock implementation that allows re-entrant reads, but
* still gives writers priority on "new" reads.