Re: [PATCH 2/2] btrfs: try to satisfy metadata requests if wen can overcommit

2016-10-12 Thread Josef Bacik
On 10/12/2016 05:03 AM, Wang Xiaoguang wrote: In shrink_delalloc(), if can_overcommit() returns true, shrink_delalloc() will give up shrinking delalloc bytes, in this case we should check whether some tickcts' requests can overcommit, if some can, we can satisfy them timely and directly.

[PATCH 2/2] btrfs: try to satisfy metadata requests if wen can overcommit

2016-10-12 Thread Wang Xiaoguang
In shrink_delalloc(), if can_overcommit() returns true, shrink_delalloc() will give up shrinking delalloc bytes, in this case we should check whether some tickcts' requests can overcommit, if some can, we can satisfy them timely and directly. Signed-off-by: Wang Xiaoguang