Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346642
b: refs/heads/master
c: 561c294
h: refs/heads/master
v: v3
  • Loading branch information
Miao Xie authored and Josef Bacik committed Dec 11, 2012
1 parent 9e479f7 commit c6e139d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3fed40cc97f32bebfd34a55364de9b44dcbede59
refs/heads/master: 561c294d4cfb30c4acfa0a243448fc55af730d87
6 changes: 3 additions & 3 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -3668,9 +3668,9 @@ static int can_overcommit(struct btrfs_root *root,
avail >>= 1;

/*
* If we aren't flushing don't let us overcommit too much, say
* 1/8th of the space. If we can flush, let it overcommit up to
* 1/2 of the space.
* If we aren't flushing all things, let us overcommit up to
* 1/2th of the space. If we can flush, don't let us overcommit
* too much, let it overcommit up to 1/8 of the space.
*/
if (flush)
avail >>= 3;
Expand Down

0 comments on commit c6e139d

Please sign in to comment.