[PATCH] NVMe: Format fix when going from 4k sector size to 512 bytes
Keith Busch
keith.busch at intel.com
Thu Dec 14 14:42:57 PST 2017
On Thu, Dec 14, 2017 at 02:49:36PM -0600, Jeff Lien wrote:
> If you format a device with a 4k sector size back to 512 bytes,
> the queue limit values for physical block size and IO sizes were
> not getting updated; only the logical block size was being
> updated. This patch adds code to update the physical block
> and IO sizes.
That's true, though I always considered that to be a happy accident. As
far as I know, most NVMe SSDs advertising a 512 byte logical block are
only emulating that size, and are natively 4k or larger.
More information about the Linux-nvme
mailing list