Re: [PATCH v5 01/13] hw/block/nvme: fix zone management receive reporting too many zones

2021-03-15 Thread Klaus Jensen
On Mar 14 19:31, Dmitry Fomichev wrote: > LGTM, > Reviewed-by: Dmitry Fomichev > Thanks Dmitry! If you could give [10/13], [11/13] and [12/13] a look-see as well that would be awesome :) - k signature.asc Description: PGP signature

RE: [PATCH v5 01/13] hw/block/nvme: fix zone management receive reporting too many zones

2021-03-14 Thread Dmitry Fomichev
alanaidu ; Keith > Busch ; Klaus Jensen ; > Dmitry Fomichev > Subject: [PATCH v5 01/13] hw/block/nvme: fix zone management receive > reporting too many zones > > From: Klaus Jensen > > nvme_zone_mgmt_recv uses nvme_ns_nlbas() to get the number of LBAs in > the namespac

[PATCH v5 01/13] hw/block/nvme: fix zone management receive reporting too many zones

2021-03-10 Thread Klaus Jensen
From: Klaus Jensen nvme_zone_mgmt_recv uses nvme_ns_nlbas() to get the number of LBAs in the namespace and then calculates the number of zones to report by incrementing slba with ZSZE until exceeding the number of LBAs as returned by nvme_ns_nlbas(). This is bad because the namespace might be of