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

Function dsl_sync_task

freebsd/contrib/openzfs/module/zfs/dsl_synctask.c:127–134  ·  view source on GitHub ↗

* Called from open context to perform a callback in syncing context. Waits * for the operation to complete. * * The checkfunc will be called from open context as a preliminary check * which can quickly fail. If it succeeds, it will be called again from * syncing context. The checkfunc should generally be designed to work * properly in either context, but if necessary it can check * dmu_t

Source from the content-addressed store, hash-verified

125 * the dataset.
126 */
127int
128dsl_sync_task(const char *pool, dsl_checkfunc_t *checkfunc,
129 dsl_syncfunc_t *syncfunc, void *arg,
130 int blocks_modified, zfs_space_check_t space_check)
131{
132 return (dsl_sync_task_common(pool, checkfunc, syncfunc, NULL, arg,
133 blocks_modified, space_check, B_FALSE));
134}
135
136/*
137 * An early synctask works exactly as a standard synctask with one important

Callers 15

dsl_bookmark_createFunction · 0.70
dsl_bookmark_destroyFunction · 0.70
spa_keystore_change_keyFunction · 0.70
dsl_crypto_recv_rawFunction · 0.70
dmu_recv_beginFunction · 0.70
dmu_recv_existing_endFunction · 0.70
dmu_recv_new_endFunction · 0.70
dsl_dataset_snapshotFunction · 0.70
dsl_dataset_snapshot_tmpFunction · 0.70
dsl_dataset_rollbackFunction · 0.70

Calls 1

dsl_sync_task_commonFunction · 0.85

Tested by

no test coverage detected