Btrfs: Fix snapshot deletion to release the alloc_mutex much more often.
This lowers the impact of snapshot deletion on the rest of the FS.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index ffc363d..3cc480b 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1674,6 +1674,7 @@
void btrfs_throttle(struct btrfs_root *root)
{
+#if 0
struct backing_dev_info *bdi;
bdi = &root->fs_info->bdi;
@@ -1686,6 +1687,7 @@
#endif
}
+#endif
}
void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr)