[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231219103825.GB14379@lst.de>
Date: Tue, 19 Dec 2023 11:38:25 +0100
From: "hch@....de" <hch@....de>
To: Damien Le Moal <dlemoal@...nel.org>
Cc: Ed Tsai (蔡宗軒) <Ed.Tsai@...iatek.com>,
"Naohiro.Aota@....com" <Naohiro.Aota@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"virtualization@...ts.linux.dev" <virtualization@...ts.linux.dev>,
"hch@....de" <hch@....de>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"axboe@...nel.dk" <axboe@...nel.dk>,
Chun-Hung Wu (巫駿宏) <Chun-hung.Wu@...iatek.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"dm-devel@...ts.linux.dev" <dm-devel@...ts.linux.dev>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
"pbonzini@...hat.com" <pbonzini@...hat.com>,
"linux-btrfs@...r.kernel.org" <linux-btrfs@...r.kernel.org>,
"linux-f2fs-devel@...ts.sourceforge.net" <linux-f2fs-devel@...ts.sourceforge.net>,
"stefanha@...hat.com" <stefanha@...hat.com>
Subject: Re: [PATCH 3/5] block: remove support for the host aware zone model
On Tue, Dec 19, 2023 at 05:12:41PM +0900, Damien Le Moal wrote:
> >> Since we cannot create lambda as in other fancy languages, we need
> >> two
> >> functions...
> >
> > Not really, there is a "void *data" can be used.
> >
> > The device_is_zoned_model() is just the same as the device_not_zoned()
> > with (bool *)data = false.
> >
> > It's very minor, so is okay to ignore my preference.
>
> Send a patch on top of Christoph's series if you want to clean this up.
I'll need to respin anyway, so I'll look into incorporating the
suggestion.
Powered by blists - more mailing lists