Convert ASSERT() to VERIFY() for better coverage

This commit is contained in:
Brian Behlendorf 2009-01-21 10:59:06 -08:00
parent f2347f40d1
commit ab8f4ca43f
1 changed files with 1 additions and 3 deletions

View File

@ -468,8 +468,7 @@ vdev_disk_io_done(zio_t *zio)
* asynchronous removal of the device. Otherwise, probe the device and * asynchronous removal of the device. Otherwise, probe the device and
* make sure it's still accessible. * make sure it's still accessible.
*/ */
if (zio->io_error == EIO) { VERIFY3S(zio->io_error, ==, 0);
ASSERT(0); /* XXX: Not yet supported */
#if 0 #if 0
vdev_t *vd = zio->io_vd; vdev_t *vd = zio->io_vd;
vdev_disk_t *dvd = vd->vdev_tsd; vdev_disk_t *dvd = vd->vdev_tsd;
@ -481,7 +480,6 @@ vdev_disk_io_done(zio_t *zio)
spa_async_request(zio->io_spa, SPA_ASYNC_REMOVE); spa_async_request(zio->io_spa, SPA_ASYNC_REMOVE);
} }
#endif #endif
}
} }
vdev_ops_t vdev_disk_ops = { vdev_ops_t vdev_disk_ops = {