Re: [PATCH 07/14] Btrfs: introduce ticketed enospc infrastructure

2016-05-09 Thread Liu Bo
On Fri, Mar 25, 2016 at 01:25:53PM -0400, Josef Bacik wrote: > Our enospc flushing sucks. It is born from a time where we were early > enospc'ing constantly because multiple threads would race in for the same > reservation and randomly starve other ones out. So I came up with this > solution > t

[PATCH 07/14] Btrfs: introduce ticketed enospc infrastructure

2016-03-25 Thread Josef Bacik
Our enospc flushing sucks. It is born from a time where we were early enospc'ing constantly because multiple threads would race in for the same reservation and randomly starve other ones out. So I came up with this solution to block any other reservations from happening while one guy tried to flu