Re: [PATCH 2/2] btrfs: reserve new relocation zone after successful relocation

From: Johannes Thumshirn
Date: Wed May 15 2024 - 14:22:14 EST


On 15.05.24 12:01, Naohiro Aota wrote:
>> +
>> + /* We know we have just freed space, set it as hint for the next relocation */
>> + btrfs_reserve_relocation_zone(fs_info);
>
> With "if (!err)"? We definitely bail out fast in an error case.
>

Right, I'll fix it in the next version.