svn commit: r368637 - stable/12/usr.sbin/bhyve
Chuck Tuffli
chuck at FreeBSD.org
Mon Dec 14 17:12:49 UTC 2020
Author: chuck
Date: Mon Dec 14 17:12:48 2020
New Revision: 368637
URL: https://svnweb.freebsd.org/changeset/base/368637
Log:
MFC r364602: bhyve: NVMe set nominal health values
Modified:
stable/12/usr.sbin/bhyve/pci_nvme.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.sbin/bhyve/pci_nvme.c
==============================================================================
--- stable/12/usr.sbin/bhyve/pci_nvme.c Mon Dec 14 14:54:20 2020 (r368636)
+++ stable/12/usr.sbin/bhyve/pci_nvme.c Mon Dec 14 17:12:48 2020 (r368637)
@@ -604,6 +604,11 @@ pci_nvme_init_logpages(struct pci_nvme_softc *sc)
/* Set read/write remainder to round up according to spec */
sc->read_dunits_remainder = 999;
sc->write_dunits_remainder = 999;
+
+ /* Set nominal Health values checked by implementations */
+ sc->health_log.temperature = 310;
+ sc->health_log.available_spare = 100;
+ sc->health_log.available_spare_threshold = 10;
}
static void
More information about the svn-src-stable-12
mailing list