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

Function vdev_draid_rebuilding

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

Source from the content-addressed store, hash-verified

1999}
2000
2001static boolean_t
2002vdev_draid_rebuilding(vdev_t *vd)
2003{
2004 if (vd->vdev_ops->vdev_op_leaf && vd->vdev_rebuild_txg)
2005 return (B_TRUE);
2006
2007 for (int i = 0; i < vd->vdev_children; i++) {
2008 if (vdev_draid_rebuilding(vd->vdev_child[i])) {
2009 return (B_TRUE);
2010 }
2011 }
2012
2013 return (B_FALSE);
2014}
2015
2016static void
2017vdev_draid_io_verify(vdev_t *vd, raidz_row_t *rr, int col)

Callers 1

vdev_draid_io_start_readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected