Lines Matching defs:zio

34 #include <sys/zio.h>
107 const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio,
132 if (zio != NULL) {
134 * If this is not a read or write zio, ignore the error. This
137 if (zio->io_type != ZIO_TYPE_READ &&
138 zio->io_type != ZIO_TYPE_WRITE)
145 if (zio->io_flags & ZIO_FLAG_SPECULATIVE)
153 if (zio->io_error == EIO &&
154 !(zio->io_flags & ZIO_FLAG_IO_RETRY))
167 if (zio->io_vd == vd && !vdev_accessible(vd, zio))
174 if (zio->io_type == ZIO_TYPE_READ &&
175 zio->io_error == ECKSUM &&
177 vdev_dtl_contains(vd, DTL_MISSING, zio->io_txg, 1))
207 * a root zio-wide ENA. Otherwise, simply use a unique ENA.
213 } else if (zio != NULL && zio->io_logical != NULL) {
214 if (zio->io_logical->io_ena == 0)
215 zio->io_logical->io_ena =
217 ena = zio->io_logical->io_ena;
295 if (zio != NULL) {
300 DATA_TYPE_INT32, zio->io_error, NULL);
317 DATA_TYPE_UINT64, zio->io_offset,
319 DATA_TYPE_UINT64, zio->io_size, NULL);
325 if (zio->io_logical != NULL)
329 zio->io_logical->io_bookmark.zb_objset,
332 zio->io_logical->io_bookmark.zb_object,
335 zio->io_logical->io_bookmark.zb_level,
338 zio->io_logical->io_bookmark.zb_blkid, NULL);
341 * If we have a vdev but no zio, this is a device fault, and the
669 zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio,
677 subclass, spa, vd, zio, stateoroffset, size);
691 struct zio *zio, uint64_t offset, uint64_t length, void *arg,
696 if (zio->io_vsd != NULL)
697 zio->io_vsd_ops->vsd_cksum_report(zio, report, arg);
699 zio_vsd_default_cksum_report(zio, report, arg);
712 FM_EREPORT_ZFS_CHECKSUM, spa, vd, zio, offset, length);
726 report->zcr_next = zio->io_logical->io_cksum_report;
727 zio->io_logical->io_cksum_report = report;
781 struct zio *zio, uint64_t offset, uint64_t length,
790 FM_EREPORT_ZFS_CHECKSUM, spa, vd, zio, offset, length);