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

Function sync_dnodes_task

freebsd/contrib/openzfs/module/zfs/dmu_objset.c:1589–1602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1587} sync_dnodes_arg_t;
1588
1589static void
1590sync_dnodes_task(void *arg)
1591{
1592 sync_dnodes_arg_t *sda = arg;
1593
1594 multilist_sublist_t *ms =
1595 multilist_sublist_lock(sda->sda_list, sda->sda_sublist_idx);
1596
1597 dmu_objset_sync_dnodes(ms, sda->sda_tx);
1598
1599 multilist_sublist_unlock(ms);
1600
1601 kmem_free(sda, sizeof (*sda));
1602}
1603
1604
1605/* called from dsl */

Callers

nothing calls this directly

Calls 4

multilist_sublist_lockFunction · 0.85
dmu_objset_sync_dnodesFunction · 0.85
multilist_sublist_unlockFunction · 0.85
kmem_freeFunction · 0.50

Tested by

no test coverage detected