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)
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

Simple merge
diff --cc fs/btrfs/file.c
Simple merge
Simple merge