commit | 17504584f52af944960f1ad16752aa10a0755b3b | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Sun Dec 29 21:44:50 2013 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Jan 28 13:20:14 2014 -0800 |
tree | 7428bce96d72e51705d9154b661e86a56236c7ac | |
parent | 1708cc5723cb775703b42a0ce8e521019c42dd67 [diff] |
Btrfs: return free space to global_rsv as much as possible @full is not protected within global_rsv.lock, so we may think global_rsv is already full but in fact it's not, so we miss the opportunity to return free space to global_rsv directly when we release other block_rsvs. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>