[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <acc07e53-1989-457a-b85b-9ed802daeffc@wdc.com>
Date: Mon, 22 Jan 2024 16:04:29 +0000
From: Johannes Thumshirn <Johannes.Thumshirn@....com>
To: Josef Bacik <josef@...icpanda.com>, David Sterba <dsterba@...e.com>
CC: Naohiro Aota <Naohiro.Aota@....com>, "linux-btrfs@...r.kernel.org"
<linux-btrfs@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, Damien Le Moal <dlemoal@...nel.org>
Subject: Re: [PATCH 0/2] btrfs: zoned: kick reclaim earlier on fast zoned
devices
On 22.01.24 11:51, Johannes Thumshirn wrote:
> We had a report from the field where filling a zoned drive with one file
> 60% of the drive's capacity and then overwriting this file results in
> ENOSPC.
>
> If said drive is fast and small enough, the problem can be easily
> triggered, as both reclaim of dirty block-groups and deletion of unused
> block-groups only happen at transaction commit time. But if the whole test
> is faster than we're doing transaction commits we're unnecessarily running
> out of usable space on a zoned drive.
>
> This can easily be reproduced by the following fio snippet:
> fio --name=foo --filename=$TEST/foo --size=$60_PERCENT_OF_DRIVE --rw=write\
> --loops=2
>
> A fstests testcase for this issue will be sent as well.
Please disregard this series. I'm stupid and had lockdep active during
testing, so the timing was messed up and reclaim had a chance to kick in.
Powered by blists - more mailing lists