Re: [PATCH] btrfs-progs: Fix false ENOSPC alert by tracking used space correctly

2019-06-18 Thread Qu Wenruo
On 2019/6/19 下午2:32, Nikolay Borisov wrote: > > > On 25.05.19 г. 2:32 ч., Qu Wenruo wrote: >> [BUG] >> There is a bug report of unexpected ENOSPC from btrfs-convert. >> https://github.com/kdave/btrfs-progs/issues/123# >> >> After some debug, even when we have enough unallocated space, we still

Re: [PATCH] btrfs-progs: Fix false ENOSPC alert by tracking used space correctly

2019-06-18 Thread Nikolay Borisov
On 25.05.19 г. 2:32 ч., Qu Wenruo wrote: > [BUG] > There is a bug report of unexpected ENOSPC from btrfs-convert. > https://github.com/kdave/btrfs-progs/issues/123# > > After some debug, even when we have enough unallocated space, we still > hit ENOSPC at btrfs_reserve_extent(). > > [CAUSE] >

Re: [PATCH] btrfs-progs: Fix false ENOSPC alert by tracking used space correctly

2019-06-14 Thread David Sterba
On Sat, May 25, 2019 at 07:32:43AM +0800, Qu Wenruo wrote: > [BUG] > There is a bug report of unexpected ENOSPC from btrfs-convert. > https://github.com/kdave/btrfs-progs/issues/123# > > After some debug, even when we have enough unallocated space, we still > hit ENOSPC at btrfs_reserve_extent().

[PATCH] btrfs-progs: Fix false ENOSPC alert by tracking used space correctly

2019-05-24 Thread Qu Wenruo
[BUG] There is a bug report of unexpected ENOSPC from btrfs-convert. https://github.com/kdave/btrfs-progs/issues/123# After some debug, even when we have enough unallocated space, we still hit ENOSPC at btrfs_reserve_extent(). [CAUSE] Btrfs-progs relies on chunk preallocator to make enough space