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)
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/uts/intel/io/scsi/targets/sd.conf
+++ new/usr/src/uts/intel/io/scsi/targets/sd.conf
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
|
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
24 +# Copyright 2017 Nexenta Systems, Inc.
24 25 #
25 26
26 27 name="sd" class="scsi" target=0 lun=0;
27 28 name="sd" class="scsi" target=1 lun=0;
28 29 name="sd" class="scsi" target=2 lun=0;
29 30 name="sd" class="scsi" target=3 lun=0;
30 31 name="sd" class="scsi" target=4 lun=0;
31 32 name="sd" class="scsi" target=5 lun=0;
32 33 name="sd" class="scsi" target=6 lun=0;
33 34 name="sd" class="scsi" target=7 lun=0;
34 35 name="sd" class="scsi" target=8 lun=0;
|
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
35 36 name="sd" class="scsi" target=9 lun=0;
36 37 name="sd" class="scsi" target=10 lun=0;
37 38 name="sd" class="scsi" target=11 lun=0;
38 39 name="sd" class="scsi" target=12 lun=0;
39 40 name="sd" class="scsi" target=13 lun=0;
40 41 name="sd" class="scsi" target=14 lun=0;
41 42 name="sd" class="scsi" target=15 lun=0;
42 43
43 44 #
44 45 # The following stub node is needed for pathological bottom-up
45 -# devid resolution on a self-identifying transport.
46 +# devid resolution on a self-identifying transport.
46 47 #
47 48 name="sd" class="scsi-self-identifying";
48 49
49 50 #
50 51 # Associate the driver with devid resolution.
51 52 #
52 53 ddi-devid-registrant=1;
54 +
55 +#
56 +# Force attach to avoid timing problems with deferred attach
57 +# and tools like format(1M).
58 +#
59 +ddi-forceattach=1;
60 +
61 +sd-config-list=
62 + # Set appropriate timeout and disable slow-io detector
63 + "VMware Virtual disk", "io-time:180,slow-io-threshold:0";
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX