summaryrefslogtreecommitdiffstats
path: root/include/zfs_prop.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-07-21 10:19:25 -0700
committerBrian Behlendorf <[email protected]>2014-07-22 09:41:38 -0700
commit7a8f0e80eae9053ebe6a3c5ce5f3360e8df8de2f (patch)
tree266827291076632f5e932d07d929bfb8800fcad6 /include/zfs_prop.h
parent080b3100155c472f8c8a380db2458bf70bd13279 (diff)
zfs_trunc() should use dmu_tx_assign(tx, TXG_WAIT)
As part of the write throttle & i/o schedule performance work the zfs_trunc() function should have been updated to use TXG_WAIT. Using TXG_WAIT ensures that the tx will be part of the next txg. If TXG_NOWAIT is used and retried for ERESTART errors then the tx can suffer from starvation. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Ned Bass <[email protected]> Closes #2488
Diffstat (limited to 'include/zfs_prop.h')
0 files changed, 0 insertions, 0 deletions