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

Shinichiro Kawasaki <[email protected]> Mon, 9 Feb 2026 23:57:20 +0000
Newsgroups org.kernel.vger.fio
Message-ID <aYp0ONUf0UpZnX7y@shinmob>
On Jan 30, 2026 / 15:01, Vincent Fu wrote:
> 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.

Okay, thank you for the comment. I will prepare v2 series based on this option.