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

Function spa_vdev_err

freebsd/contrib/openzfs/module/zfs/spa.c:2375–2380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2373}
2374
2375static int
2376spa_vdev_err(vdev_t *vdev, vdev_aux_t aux, int err)
2377{
2378 vdev_set_state(vdev, B_TRUE, VDEV_STATE_CANT_OPEN, aux);
2379 return (SET_ERROR(err));
2380}
2381
2382boolean_t
2383spa_livelist_delete_check(spa_t *spa)

Callers 14

spa_activity_checkFunction · 0.85
spa_ld_select_uberblockFunction · 0.85
spa_ld_open_rootbpFunction · 0.85
spa_ld_trusted_configFunction · 0.85
spa_ld_check_featuresFunction · 0.85
spa_ld_get_propsFunction · 0.85
spa_ld_open_aux_vdevsFunction · 0.85
spa_ld_load_dedup_tablesFunction · 0.85
spa_ld_verify_logsFunction · 0.85

Calls 1

vdev_set_stateFunction · 0.85

Tested by

no test coverage detected