MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vdev_disk_error

Function vdev_disk_error

freebsd/contrib/openzfs/module/os/linux/zfs/vdev_disk.c:154–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static void
155vdev_disk_error(zio_t *zio)
156{
157 /*
158 * This function can be called in interrupt context, for instance while
159 * handling IRQs coming from a misbehaving disk device; use printk()
160 * which is safe from any context.
161 */
162 printk(KERN_WARNING "zio pool=%s vdev=%s error=%d type=%d "
163 "offset=%llu size=%llu flags=%x\n", spa_name(zio->io_spa),
164 zio->io_vd->vdev_path, zio->io_error, zio->io_type,
165 (u_longlong_t)zio->io_offset, (u_longlong_t)zio->io_size,
166 zio->io_flags);
167}
168
169static int
170vdev_disk_open(vdev_t *v, uint64_t *psize, uint64_t *max_psize,

Callers 2

vdev_disk_dio_putFunction · 0.85
vdev_disk.cFile · 0.85

Calls 1

spa_nameFunction · 0.85

Tested by

no test coverage detected