Re: [PATCH 02/12] zbd: set norandommap=1 when zonemode=zbd is specified

Vincent Fu <[email protected]> Fri, 30 Jan 2026 15:01:48 -0500
Newsgroups org.kernel.vger.fio
Message-ID <CAOp=CXmUB1cf6AgMPqLAVXaKCLxy+B56918MzTGUDtGR1QXTbw@mail.gmail.com>
On Tue, Jan 27, 2026 at 12:05 AM Shinichiro Kawasaki
<[email protected]> wrote:
>
> Vincent, thanks for the comments.
>
> On Jan 26, 2026 / 20:39, Vincent Fu wrote:
 [...]
> >
> > Perhaps you could instead emit a warning when a random job is run with
> > a random map and then condition the relevant changes in later patches
> > on the absence of a random map.
>
> Actually, I thought about other options as follows to seek for a better
> solution:
>
> 1) Leave the current remainder handling with zone finish operation, and add the
>    new handling with simple writes. Choose one of the two handlings by a new
>    option, and ensure norandommap=1 only for the handling with simple writes.
>     -> This can keep the current behavior with norandommap=1 workloads, but it
>        comes with the zone finish operation that shows bad performance. I
>        thought this leaves complexity for users and in the code.

The above is my preferred solution. It preserves backward
compatibility albeit at the cost of additional complexity.

We do have many other situations where some technical knowledge and
complexity is required to maximize performance.

Vincent