This reverts commit 0bb89b6c59 in favor of a cleaner implementation. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #2182
0bb89b6c59