Page MenuHomeFreeBSD

D19579.id.diff
No OneTemporary

D19579.id.diff

Index: head/usr.sbin/bhyve/pci_nvme.c
===================================================================
--- head/usr.sbin/bhyve/pci_nvme.c
+++ head/usr.sbin/bhyve/pci_nvme.c
@@ -358,7 +358,7 @@
nd->nuse = nd->nsze;
/* Get LBA and backstore information from backing store */
- nd->nlbaf = 1;
+ nd->nlbaf = 0; /* NLBAF is a 0's based value (i.e. 1 LBA Format) */
/* LBA data-sz = 2^lbads */
nd->lbaf[0] = sc->nvstore.sectsz_bits << NVME_NS_DATA_LBAF_LBADS_SHIFT;

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 20, 8:38 AM (8 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25640579
Default Alt Text
D19579.id.diff (475 B)

Event Timeline