Revert "Add zio constructor/destructor"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Mar 2012 18:51:27 +0000 (11:51 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Mar 2012 21:51:01 +0000 (14:51 -0700)
commitc8df41538db3723edf3536379a78fbaf68f037d0
tree79d7a3c6b3631a5f26314c8a597d93573da20945
parent43c8454724e0ba70b13e40cd2f63ad0d68942776
Revert "Add zio constructor/destructor"

This patch was slightly flawed and allowed for zio->io_logical
to potentially not be reinitialized for a new zio.  This could
lead to assertion failures in specific cases when debugging is
enabled (--enable-debug) and I/O errors are encountered.  It
may also have caused problems when issues logical I/Os.

Since we want to make sure this workaround can be easily removed
in the future (when we have the real fix).  I'm reverting this
change and applying a new version of the patch which includes
the zio->io_logical fix.

This reverts commit 2c6d0b1e07b0265f0661ed7851d3aa8d3e75e7a9.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #602
Issue #604
module/zfs/zio.c