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

Function dnode_dirty_l1

freebsd/contrib/openzfs/module/zfs/dnode.c:1938–1946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1936}
1937
1938static void
1939dnode_dirty_l1(dnode_t *dn, uint64_t l1blkid, dmu_tx_t *tx)
1940{
1941 dmu_buf_impl_t *db = dbuf_hold_level(dn, 1, l1blkid, FTAG);
1942 if (db != NULL) {
1943 dmu_buf_will_dirty(&db->db, tx);
1944 dbuf_rele(db, FTAG);
1945 }
1946}
1947
1948/*
1949 * Dirty all the in-core level-1 dbufs in the range specified by start_blkid

Callers 2

dnode_dirty_l1rangeFunction · 0.85
dnode_free_rangeFunction · 0.85

Calls 3

dbuf_hold_levelFunction · 0.85
dmu_buf_will_dirtyFunction · 0.85
dbuf_releFunction · 0.85

Tested by

no test coverage detected