[PATCH] nvme-core: checking nlbaf when retrieving lbaf index

Keith Busch kbusch at kernel.org
Tue Jun 27 08:24:43 PDT 2023


On Wed, Jun 21, 2023 at 11:22:58AM +0200, Irvin Cote wrote:
> As per NVM-Express-NVM-Command-Set-Specification-1.0c
> ignore the two most significant bits of flbas if nlbaf
> is inferior or equal to 16

They're reserved bits in 1.0 and:

 "A reserved bit, byte, word, field, property, or register shall be
  cleared to 0h"

So we don't need to validate prior to using these bits unless a
controller is breaking spec.



More information about the Linux-nvme mailing list