Btrfs: Change the congestion functions to meter the number of async submits as well
authorChris Mason <chris.mason@oracle.com>
Thu, 15 May 2008 20:15:45 +0000 (16:15 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
commitcb03c743c6486e4efb8be6bdf7bf23177826d156
treee5e9cfb8258c55946b0a551b8f89deb7a2b0267a
parent211c17f51f46dc6c308c742098273dd46b5ca59c
Btrfs: Change the congestion functions to meter the number of async submits as well

The async submit workqueue was absorbing too many requests, leading to long
stalls where the async submitters were stalling.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c