HomeFreeBSD

dmu_tx kstat cleanup

Description

dmu_tx kstat cleanup

A few counters in the dmu_tx kstats are obsolete or no longer
bumped properly.

  • The sync task restructuring commit 13fe019870c8779bf2f5b3ff731b512cf89133ef removed the code that bumpted dmu_tx_quota. The counter is now bumped in two cases, instead of just the one case as before (after the result of dsl_dataset_check_quota call). The second case is where we check the requested reservation against the actual pool size, as this is an implicit quota of sorts.

Signed-off-by: Kohsuke Kawaguchi <kk@kohsuke.org>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1914

Details

Provenance
Ned Bass <bass6@llnl.gov>Authored on Feb 28 2014, 12:11 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 4 2014, 8:22 PM
Parents
rGcecb7487fc8e: Invalidate Linux buffer cache on vdevs upon each flush
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG3d920a1567d5: dmu_tx kstat cleanup (authored by Ned Bass <bass6@llnl.gov>).Mar 4 2014, 8:22 PM