Convert ASSERT() to VERIFY() for better coverage
This commit is contained in:
parent
f2347f40d1
commit
ab8f4ca43f
|
@ -468,8 +468,7 @@ vdev_disk_io_done(zio_t *zio)
|
|||
* asynchronous removal of the device. Otherwise, probe the device and
|
||||
* make sure it's still accessible.
|
||||
*/
|
||||
if (zio->io_error == EIO) {
|
||||
ASSERT(0); /* XXX: Not yet supported */
|
||||
VERIFY3S(zio->io_error, ==, 0);
|
||||
#if 0
|
||||
vdev_t *vd = zio->io_vd;
|
||||
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);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
vdev_ops_t vdev_disk_ops = {
|
||||
|
|
Loading…
Reference in New Issue