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

Function zfs_post_remove

freebsd/contrib/openzfs/module/zfs/zfs_fm.c:1306–1310  ·  view source on GitHub ↗

* The 'resource.fs.zfs.removed' event is an internal signal that the given vdev * has been removed from the system. This will cause the DE to ignore any * recent I/O errors, inferring that they are due to the asynchronous device * removal. */

Source from the content-addressed store, hash-verified

1304 * removal.
1305 */
1306void
1307zfs_post_remove(spa_t *spa, vdev_t *vd)
1308{
1309 zfs_post_common(spa, vd, FM_RSRC_CLASS, FM_RESOURCE_REMOVED, NULL);
1310}
1311
1312/*
1313 * The 'resource.fs.zfs.autoreplace' event is an internal signal that the pool

Callers 1

spa_async_removeFunction · 0.85

Calls 1

zfs_post_commonFunction · 0.85

Tested by

no test coverage detected