[PATCH 02/26] sd: move zone limits setup out of sd_read_block_characteristics
Christoph Hellwig
hch at lst.de
Thu Jun 13 11:39:18 CEST 2024
On Tue, Jun 11, 2024 at 02:51:24PM +0900, Damien Le Moal wrote:
> > + if (sdkp->device->type == TYPE_ZBC)
>
> Nit: use sd_is_zoned() here ?
Actually - is there much in even keeping sd_is_zoned now that the
host aware support is removed? Just open coding the type check isn't
any more code, and probably easier to follow.
More information about the drbd-dev
mailing list