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

Function vdev_set_min_asize

freebsd/contrib/openzfs/module/zfs/vdev.c:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void
307vdev_set_min_asize(vdev_t *vd)
308{
309 vd->vdev_min_asize = vdev_get_min_asize(vd);
310
311 for (int c = 0; c < vd->vdev_children; c++)
312 vdev_set_min_asize(vd->vdev_child[c]);
313}
314
315/*
316 * Get the minimal allocation size for the top-level vdev.

Callers 1

vdev_openFunction · 0.85

Calls 1

vdev_get_min_asizeFunction · 0.85

Tested by

no test coverage detected