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

Function vdev_draid_close

freebsd/contrib/openzfs/module/zfs/vdev_draid.c:1788–1795  ·  view source on GitHub ↗

* Close a top-level dRAID vdev. */

Source from the content-addressed store, hash-verified

1786 * Close a top-level dRAID vdev.
1787 */
1788static void
1789vdev_draid_close(vdev_t *vd)
1790{
1791 for (int c = 0; c < vd->vdev_children; c++) {
1792 if (vd->vdev_child[c] != NULL)
1793 vdev_close(vd->vdev_child[c]);
1794 }
1795}
1796
1797/*
1798 * Return the maximum asize for a rebuild zio in the provided range

Callers

nothing calls this directly

Calls 1

vdev_closeFunction · 0.85

Tested by

no test coverage detected