changeset 13061 | bda0decf867b |
parent 12586 | b118bbd65be9 |
child 13177 | f3dd638d3435 |
--- a/usr/src/uts/common/fs/zfs/zio.c Mon Aug 09 11:56:40 2010 -0700 +++ b/usr/src/uts/common/fs/zfs/zio.c Mon Aug 09 12:39:28 2010 -0700 @@ -2282,7 +2282,7 @@ ASSERT(P2PHASE(zio->io_offset, align) == 0); ASSERT(P2PHASE(zio->io_size, align) == 0); - ASSERT(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); + VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); /* * If this is a repair I/O, and there's no self-healing involved --