Re: [PATCH] btrfs-progs: add a --check-bg-usage option to fsck

2019-08-29 Thread David Sterba
On Fri, Aug 02, 2019 at 09:06:35AM -0400, Josef Bacik wrote: > Sometimes when messing with the chunk allocator code we can end up > over-allocating chunks. Generally speaking I'll notice this when a > random xfstest fails with ENOSPC when it shouldn't, but I'm super > worried that I won't catch a

Re: [PATCH] btrfs-progs: add a --check-bg-usage option to fsck

2019-08-02 Thread Josef Bacik
On Fri, Aug 02, 2019 at 09:54:12PM +0800, Qu Wenruo wrote: > > > On 2019/8/2 下午9:06, Josef Bacik wrote: > > Sometimes when messing with the chunk allocator code we can end up > > over-allocating chunks. Generally speaking I'll notice this when a > > random xfstest fails with ENOSPC when it shoul

Re: [PATCH] btrfs-progs: add a --check-bg-usage option to fsck

2019-08-02 Thread Qu Wenruo
On 2019/8/2 下午9:06, Josef Bacik wrote: > Sometimes when messing with the chunk allocator code we can end up > over-allocating chunks. Generally speaking I'll notice this when a > random xfstest fails with ENOSPC when it shouldn't, but I'm super > worried that I won't catch a problem until somebo

[PATCH] btrfs-progs: add a --check-bg-usage option to fsck

2019-08-02 Thread Josef Bacik
Sometimes when messing with the chunk allocator code we can end up over-allocating chunks. Generally speaking I'll notice this when a random xfstest fails with ENOSPC when it shouldn't, but I'm super worried that I won't catch a problem until somebody has a fs completely filled up with empty block