Btrfs: be more polite in the async caching threads
authorChris Mason <chris.mason@oracle.com>
Thu, 30 Jul 2009 14:04:48 +0000 (10:04 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 30 Jul 2009 14:14:46 +0000 (10:14 -0400)
The semaphore used by the async caching threads can prevent a
transaction commit, which can make the FS appear to stall.  This
releases the semaphore more often when a transaction commit is
in progress.

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

Simple merge
Simple merge
Simple merge