diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-08-20 13:39:41 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:06 -0400 |
commit | b64a2851ba25b3410a87d3d1b751155612105c8e (patch) | |
tree | 5bad12d67cfdd6657acbe1091dd1c196e5e17818 /fs/btrfs/transaction.c | |
parent | 4d1b5fb4d7075f862848dbff8873e22382abd482 (diff) | |
download | kernel_samsung_smdk4412-b64a2851ba25b3410a87d3d1b751155612105c8e.zip kernel_samsung_smdk4412-b64a2851ba25b3410a87d3d1b751155612105c8e.tar.gz kernel_samsung_smdk4412-b64a2851ba25b3410a87d3d1b751155612105c8e.tar.bz2 |
Btrfs: Wait for async bio submissions to make some progress at queue time
Before, the btrfs bdi congestion function was used to test for too many
async bios. This keeps that check to throttle pdflush, but also
adds a check while queuing bios.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 6bcb087..eff3ad7 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -322,8 +322,6 @@ int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans, if (ret) break; while(start <= end) { - if (btrfs_congested_async(root->fs_info, 0)) - congestion_wait(WRITE, HZ/10); cond_resched(); index = start >> PAGE_CACHE_SHIFT; |