On 13/07/2023 20:04, Pankaj Raghav wrote:
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?
Right. I'm also facing some issues. However, the stack trace indicates
a memory error, which I attributed to my low-resourced nullb device.
I'm trying to emulate a zoned device using other methods, but I haven't
been successful yet.
Thanks, Anand
I remember Johannes also looked into this issue, but we never came to any conclusion.
Regards,
Pankaj