Mercurial > illumos > illumos-gate
changeset 6740:ca05a6828ae6 onnv_91
6707621 write throttle results in excessive delay
author | gw25295 |
---|---|
date | Tue, 27 May 2008 22:30:46 -0700 |
parents | 9ee2f991c855 |
children | fd2d992ea0b3 |
files | usr/src/uts/common/fs/zfs/dsl_pool.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/dsl_pool.c Tue May 27 22:17:54 2008 -0700 +++ b/usr/src/uts/common/fs/zfs/dsl_pool.c Tue May 27 22:30:46 2008 -0700 @@ -298,7 +298,7 @@ * the caller 1 clock tick. This will slow down the "fill" * rate until the sync process can catch up with us. */ - if (reserved && reserved > (write_limit - write_limit << 3)) + if (reserved && reserved > (write_limit - (write_limit >> 3))) txg_delay(dp, tx->tx_txg, 1); return (0);