Re: [PATCH] btrfs/237: adapt the test to work with the new reclaim algorithm

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Hi Anand,

On 2023-07-12 09:06, Anand Jain wrote:
> On 16/12/22 18:57, Pankaj Raghav wrote:
>> Since 3687fcb0752a ("btrfs: zoned: make auto-reclaim less aggressive")
>> commit and cc4804bfd639 ("btrfs: skip reclaim if block_group is empty"),
>> reclaim algorithm has been changed to be less aggressive, which breaks this
>> test.
>>
>> The test has been adapted so that the new auto-reclaim algorithm can be
>> tested with the following flow:
>> - Write a small file
>> - Write a big file that crosses the reclaim limit
>> - Delete the big file
>> - Check that only the block group that contained the small file is reclaimed,
>>    and the small file is relocated to a new block group.
>> ---
> 
> SOB is missing.
> 
> Pankaj, this patch has not been integrated yet.
> Could you please resend it?
>

Actually, I encountered an issue with this testcase where it worked
perfectly well for smaller drives, but started to fail for bigger ZNS drives.

Thread: https://lore.kernel.org/all/20220819115337.35681-1-p.raghav@xxxxxxxxxxx/

Could you try it in your setup and see if it works correctly?

I remember Johannes also looked into this issue, but we never came to any conclusion.

Regards,
Pankaj




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux