Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Update the Proxmox comment with link to their bu...



details:   https://anonhg.NetBSD.org/src/rev/f1c2ee6b0965
branches:  trunk
changeset: 944118:f1c2ee6b0965
user:      kim <kim%NetBSD.org@localhost>
date:      Sat Sep 19 07:30:32 2020 +0000

description:
Update the Proxmox comment with link to their bugzilla

diffstat:

 sys/dev/pci/vioscsi.c |  16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r ec1567308462 -r f1c2ee6b0965 sys/dev/pci/vioscsi.c
--- a/sys/dev/pci/vioscsi.c     Sat Sep 19 03:33:15 2020 +0000
+++ b/sys/dev/pci/vioscsi.c     Sat Sep 19 07:30:32 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vioscsi.c,v 1.23 2020/09/18 14:55:28 jakllsch Exp $    */
+/*     $NetBSD: vioscsi.c,v 1.24 2020/09/19 07:30:32 kim Exp $ */
 /*     $OpenBSD: vioscsi.c,v 1.3 2015/03/14 03:38:49 jsg Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.23 2020/09/18 14:55:28 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.24 2020/09/19 07:30:32 kim Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -199,8 +199,16 @@
        /*
         * XXX Remove this when scsipi is REPORT LUNS-aware.
         * scsipi(4) insists that LUNs must be contiguous starting from 0.
-        * This is not true on Linode (circa 2020) and Proxmox 6 hosts
-        * with more than one disk exported to guest.
+        * This is not true on Linode (circa 2020).
+        *
+        * Also if explicitly selecting the 'Virtio SCSI Single'
+        * controller (which is not the default SCSI controller) on
+        * Proxmox hosts, each disk will be on its own scsi bus at
+        * target 0 but unexpectedly on a LUN matching the drive number
+        * on the system (i.e. drive 0 will be bus 0, target 0, lun
+        * 0; drive 1 will be bus 1, target 0, lun 1, drive 2 will be
+        * bus 2, target 0, lun 2 -- which is where the gaps start
+        * happening). https://bugzilla.proxmox.com/show_bug.cgi?id=2985
         */
        chan->chan_defquirks = PQUIRK_FORCELUNS;
 



Home | Main Index | Thread Index | Old Index