| @@ -3609,27 +3609,27 @@ vdev_deadman(vdev_t *vd) | | | @@ -3609,27 +3609,27 @@ vdev_deadman(vdev_t *vd) |
3609 | * Look at the head of all the pending queues, | | 3609 | * Look at the head of all the pending queues, |
3610 | * if any I/O has been outstanding for longer than | | 3610 | * if any I/O has been outstanding for longer than |
3611 | * the spa_deadman_synctime we panic the system. | | 3611 | * the spa_deadman_synctime we panic the system. |
3612 | */ | | 3612 | */ |
3613 | fio = avl_first(&vq->vq_active_tree); | | 3613 | fio = avl_first(&vq->vq_active_tree); |
3614 | delta = gethrtime() - fio->io_timestamp; | | 3614 | delta = gethrtime() - fio->io_timestamp; |
3615 | if (delta > spa_deadman_synctime(spa)) { | | 3615 | if (delta > spa_deadman_synctime(spa)) { |
3616 | zfs_dbgmsg("SLOW IO: zio timestamp %lluns, " | | 3616 | zfs_dbgmsg("SLOW IO: zio timestamp %lluns, " |
3617 | "delta %"PRIu64"ns, last io %lluns", | | 3617 | "delta %"PRIu64"ns, last io %lluns", |
3618 | fio->io_timestamp, delta, | | 3618 | fio->io_timestamp, delta, |
3619 | vq->vq_io_complete_ts); | | 3619 | vq->vq_io_complete_ts); |
3620 | | | 3620 | |
3621 | printf("SLOW IO: zio timestamp %lluns, " | | 3621 | printf("SLOW IO: zio timestamp %lluns, " |
3622 | "delta %"PRIu64"ns, last io %lluns", | | 3622 | "delta %"PRIu64"ns, last io %lluns\n", |
3623 | fio->io_timestamp, delta, | | 3623 | fio->io_timestamp, delta, |
3624 | vq->vq_io_complete_ts); | | 3624 | vq->vq_io_complete_ts); |
3625 | | | 3625 | |
3626 | fm_panic("I/O to pool '%s' appears to be " | | 3626 | fm_panic("I/O to pool '%s' appears to be " |
3627 | "hung on vdev guid %llu at '%s'.", | | 3627 | "hung on vdev guid %llu at '%s'.", |
3628 | spa_name(spa), | | 3628 | spa_name(spa), |
3629 | (long long unsigned int) vd->vdev_guid, | | 3629 | (long long unsigned int) vd->vdev_guid, |
3630 | vd->vdev_path); | | 3630 | vd->vdev_path); |
3631 | } | | 3631 | } |
3632 | } | | 3632 | } |
3633 | mutex_exit(&vq->vq_lock); | | 3633 | mutex_exit(&vq->vq_lock); |
3634 | } | | 3634 | } |
3635 | } | | 3635 | } |