Btrfs: Add some conditional schedules near the alloc_mutex
authorChris Mason <chris.mason@oracle.com>
Tue, 22 Jul 2008 16:08:37 +0000 (12:08 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:05 +0000 (11:04 -0400)
commite34a5b4f77b8448cf2863ad0cbac35e2c2a86a0a
tree52c9d89d2cb31d70f021a0db8587566018edb0ff
parent6dddcbeb28b34620ad033f1e8d9f6960bafdd7d2
Btrfs: Add some conditional schedules near the alloc_mutex

This helps prevent stalls, especially while the snapshot cleaner is
running hard

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