aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zio_checksum.c
diff options
context:
space:
mode:
authorJaven Wu <[email protected]>2012-08-24 19:24:48 -0700
committerBrian Behlendorf <[email protected]>2012-08-25 09:26:10 -0700
commita47587389e98820ea194fd16cd658491f8e4ee31 (patch)
treefb7a46a6502b4409ca1281c44e571369cdecc2f2 /module/zfs/zio_checksum.c
parentf828e63a0d408160cff9403f1c8991609f17011d (diff)
Drop spill buffer reference
When calling sa_update() and friends it is possible that a spill buffer will be needed to accomidate the update. When this happens a hold is taken on the new dbuf and that hold must be released before calling dmu_tx_commit(). Failing to release the hold will cause a copy of the dbuf to be made in dbuf_sync_leaf(). This is done to ensure further updates to the dbuf never sneak in to the syncing txg. This could be left to the sa_update() caller. But then the caller would need to be aware of this internal SA implementation detail. It is therefore preferable to handle this all internally in the SA implementation. Signed-off-by: Brian Behlendorf <[email protected]> Closes #503 Closes #513
Diffstat (limited to 'module/zfs/zio_checksum.c')
0 files changed, 0 insertions, 0 deletions