Btrfs: Throttle tuning
authorChris Mason <chris.mason@oracle.com>
Thu, 31 Jul 2008 14:48:37 +0000 (10:48 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:05 +0000 (11:04 -0400)
commit37d1aeee3990385e9bb436c50c2f7e120a668df6
tree6fc0e7beba7161e0400e743b31030b8cbbe29885
parent47ac14fa0f5306c6b97203f4f086bf1fa21dfddb
Btrfs: Throttle tuning

This avoids waiting for transactions with pages locked by breaking out
the code to wait for the current transaction to close into a function
called by btrfs_throttle.

It also lowers the limits for where we start throttling.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/transaction.c