Print this page
NEX-8460 make sd_io_time a per-disk tunable and set it appropriately for virtual disks
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-14507 slow-io detector should be disabled for virtual disks
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
OS-14 sd attach should not issue potentially slow scsi commands (ddi-forceattach=1)
        
@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2017 Nexenta Systems, Inc.
 #
 
 name="sd" class="scsi" target=0 lun=0;
 name="sd" class="scsi" target=1 lun=0;
 name="sd" class="scsi" target=2 lun=0;
@@ -48,5 +49,15 @@
 
 #
 # Associate the driver with devid resolution.
 #
 ddi-devid-registrant=1;
+
+#
+# Force attach to avoid timing problems with deferred attach
+# and tools like format(1M).
+#
+ddi-forceattach=1;
+
+sd-config-list=
+        # Set appropriate timeout and disable slow-io detector
+        "VMware  Virtual disk", "io-time:180,slow-io-threshold:0";