Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c
Show First 20 Lines • Show All 1,072 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
zio_t *zio = arg; | zio_t *zio = arg; | ||||
ASSERT3P(vd, !=, NULL); | ASSERT3P(vd, !=, NULL); | ||||
if (vd->vdev_ops == &vdev_indirect_ops) | if (vd->vdev_ops == &vdev_indirect_ops) | ||||
return; | return; | ||||
printf("vdev_indirect_io_start_cb: src=%llx split_offset=%x dst: vd=%u off=%llx size=%x\n", | |||||
(long long)zio->io_offset, | |||||
(int)split_offset, | |||||
(int)vd->vdev_id, | |||||
(long long)offset, | |||||
(int)size); | |||||
zio_nowait(zio_vdev_child_io(zio, NULL, vd, offset, | zio_nowait(zio_vdev_child_io(zio, NULL, vd, offset, | ||||
abd_get_offset(zio->io_abd, split_offset), | abd_get_offset(zio->io_abd, split_offset), | ||||
size, zio->io_type, zio->io_priority, | size, zio->io_type, zio->io_priority, | ||||
0, vdev_indirect_child_io_done, zio)); | 0, vdev_indirect_child_io_done, zio)); | ||||
} | } | ||||
static void | static void | ||||
vdev_indirect_io_start(zio_t *zio) | vdev_indirect_io_start(zio_t *zio) | ||||
Show All 29 Lines |