From: Pankaj Raghav <p.raghav@samsung.com>
To: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
Cc: "damien.lemoal@opensource.wdc.com"
<damien.lemoal@opensource.wdc.com>,
"pankydev8@gmail.com" <pankydev8@gmail.com>,
Naohiro Aota <Naohiro.Aota@wdc.com>,
"gost.dev@samsung.com" <gost.dev@samsung.com>,
"mcgrof@kernel.org" <mcgrof@kernel.org>,
"dsterba@suse.cz" <dsterba@suse.cz>,
"fstests@vger.kernel.org" <fstests@vger.kernel.org>
Subject: Re: [RFC 0/1] adapting btrfs/237 to work with the new reclaim algorithm
Date: Mon, 5 Dec 2022 15:53:03 +0100 [thread overview]
Message-ID: <252ec35c-01bf-e597-7a14-5724b6015b1c@samsung.com> (raw)
In-Reply-To: <4abc02a3-3518-f5b9-e8c7-cbb77dca30a9@samsung.com>
Hi Johannes,
> Btw, what ever happend to this patch?
As I said before, I had trouble reproducing reclaim for 100G drive size,
and asked if you could reproduce the same on your end. I did not get any
reply to that.
I wanted to discuss with you what I was seeing during ALPSS, but we never
got around that!
Regards,
Pankaj
On 2022-08-23 13:46, Pankaj Raghav wrote:
> On 2022-08-22 16:29, Johannes Thumshirn wrote:
>>>
>>> Only partial reclaim is happening for bigger sized drives. The issue
>>> with that is, if I do another FIO transfer, the drive spits out ENOSPC
>>> before its actual capacity is reached as most of the zones have not been
>>> reclaimed back and are basically in an unusable state.
>>>
>>> Is there a limit on how many bgs can be reclaimed?
>>>
>>> Let me know if I am doing something wrong in the test or if it is an
>>> actual issue.
>>
>> Can you try setting max_active_zones to 0? I have the feeling it's yet
>> another (or perhaps already known, Naohiro shoudl know that) issue with
>> MAZ handling.
>
> The Max active zones is set to 0 (QEMU defaults to 0). I also changed the
> backing image format of QEMU from qcow to raw, and still the same issue of
> partial reclaim for a drive size of 100G.
>
> I tried the same test in a 100G drive with 1G zone size, and it is working
> as expected.
>
> root@zns-btrfs-simple-zns:/data# ./reclaim_script.sh
> Open zones before big file transfer:
> 4
> Open zones before removing the file:
> 59
> Going to sleep. Removed the file
> Open zones after reclaim:
> 4
>
> I am not 100% sure what is causing this issue of partial reclaim when the
> number of zones is higher.
next prev parent reply other threads:[~2022-12-05 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20220819115338eucas1p11b916296213572e97a03241ebdc399d0@eucas1p1.samsung.com>
2022-08-19 11:53 ` [RFC 0/1] adapting btrfs/237 to work with the new reclaim algorithm Pankaj Raghav
2022-08-19 11:53 ` [RFC 1/1] btrfs/237: adapt the test " Pankaj Raghav
2022-08-22 9:40 ` Johannes Thumshirn
2022-08-22 10:49 ` Pankaj Raghav
2022-08-22 12:22 ` Johannes Thumshirn
2022-08-22 14:29 ` [RFC 0/1] adapting btrfs/237 " Johannes Thumshirn
2022-08-23 11:46 ` Pankaj Raghav
2022-12-05 14:53 ` Pankaj Raghav [this message]
2022-12-05 16:04 ` Johannes Thumshirn
2022-12-07 16:01 ` Pankaj Raghav
2022-12-13 13:35 ` Pankaj Raghav
2022-12-05 7:56 ` Johannes Thumshirn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=252ec35c-01bf-e597-7a14-5724b6015b1c@samsung.com \
--to=p.raghav@samsung.com \
--cc=Johannes.Thumshirn@wdc.com \
--cc=Naohiro.Aota@wdc.com \
--cc=damien.lemoal@opensource.wdc.com \
--cc=dsterba@suse.cz \
--cc=fstests@vger.kernel.org \
--cc=gost.dev@samsung.com \
--cc=mcgrof@kernel.org \
--cc=pankydev8@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox