Skip to content
Snippets Groups Projects
Commit 421a3092 authored by Gollu Appalanaidu's avatar Gollu Appalanaidu Committed by Klaus Jensen
Browse files

hw/nvme: fix lbaf formats initialization


Currently LBAF formats are being intialized based on metadata
size if and only if nvme-ns "ms" parameter is non-zero value.
Since FormatNVM command being supported device parameter "ms"
may not be the criteria to initialize the supported LBAFs.

And make LBAF array as read-only.

Signed-off-by: default avatarGollu Appalanaidu <anaidu.gollu@samsung.com>
Reviewed-by: default avatarKlaus Jensen <k.jensen@samsung.com>
Signed-off-by: default avatarKlaus Jensen <k.jensen@samsung.com>
parent 18de1526
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment