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

Function zio_rewrite

freebsd/contrib/openzfs/module/zfs/zio.c:1170–1182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170zio_t *
1171zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data,
1172 uint64_t size, zio_done_func_t *done, void *private,
1173 zio_priority_t priority, enum zio_flag flags, zbookmark_phys_t *zb)
1174{
1175 zio_t *zio;
1176
1177 zio = zio_create(pio, spa, txg, bp, data, size, size, done, private,
1178 ZIO_TYPE_WRITE, priority, flags | ZIO_FLAG_IO_REWRITE, NULL, 0, zb,
1179 ZIO_STAGE_OPEN, ZIO_REWRITE_PIPELINE);
1180
1181 return (zio);
1182}
1183
1184void
1185zio_write_override(zio_t *zio, blkptr_t *bp, int copies, boolean_t nopwrite)

Callers 4

ddt_repair_entryFunction · 0.85
zio_rewrite_gangFunction · 0.85
zio_write_gang_blockFunction · 0.85
zil_lwb_write_openFunction · 0.85

Calls 1

zio_createFunction · 0.85

Tested by

no test coverage detected