Re: [PATCH V2] Btrfs-progs: check for matchin free space in cache

2015-04-22 Thread David Sterba
On Fri, Apr 17, 2015 at 02:02:15PM -0400, Josef Bacik wrote: We have this check in the kernel but not in userspace, which makes fsck fail when we wouldn't have a problem in the kernel. This was meant to catch this case because it really isn't good, unfortunately it will require a design

[PATCH V2] Btrfs-progs: check for matchin free space in cache

2015-04-17 Thread Josef Bacik
We have this check in the kernel but not in userspace, which makes fsck fail when we wouldn't have a problem in the kernel. This was meant to catch this case because it really isn't good, unfortunately it will require a design change to fix in the kernel so in the meantime add this check so we