On 4/25/25 09:47, hch@xxxxxxxxxxxxx wrote:
On Fri, Apr 25, 2025 at 12:04:39AM -0400, Sean Anderson wrote:
and in userspace that assumes 512-byte granularity. But there is no
such deeply-ingrained assumption for zones. You just have to set the
parameter correctly.
There are everywhere in software actually using zones. You still
haven't answered whay your intended use case is, btw.
I'm working on testing... I thought I would send a few bug fixes upstream in advance...
who knew I would get such a hostile response
Plus, smaller zones are more efficient at reducing write amplification,
in the same way as smaller block sizes.
No, they aren't. If you zones are only a few kb you will waste a lot
of effort to actually track their state.
The state is perhaps 4-8 bytes at most? And in any case it's proportional to
the number of zones. If you have a smaller drive you will naturally have smaller zones.
--Sean