Btrfs: Handle writeback under high memory pressure better

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-11-26 16:15:16 -08:00
parent eef1c494a2
commit 015a739c7c
2 changed files with 13 additions and 1 deletions

View File

@@ -961,7 +961,7 @@ static int find_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root
level = btrfs_header_level(root->node);
if (num_bytes >= 96 * 1024 * 1024 && hint_byte) {
if (num_bytes >= 32 * 1024 * 1024 && hint_byte) {
data = BTRFS_BLOCK_GROUP_MIXED;
}