]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFV r318962: Allow PROBE_SPINUP to fail in CAM ATA transport
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Sep 2017 07:39:39 +0000 (07:39 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Sep 2017 07:39:39 +0000 (07:39 +0000)
commite08de66e4f0504decfa19e2bad5376d8d5effcca
treef33c6e1d09914137abd5311d9cd080905041f6c3
parente3a6ecb5241cfb6705a6128def885cd9ba00b7dd
MFV r318962: Allow PROBE_SPINUP to fail in CAM ATA transport

The motivation for this is two-fold.

1. Some old WD SATA disks may appear as if they need to be spun up
when they are already spinning.  Those disks would respond with
an error to the spin-up request.

2. Even if we really fail to spin up the disk, we still can try to
proceed to the subsequent phases.  If we fail later on, then no
difference.  Otherwise we get a chance to communicate with the
disk which is better than completely ignoring it, because a user
can try to recover the disk.

git-svn-id: svn://svn.freebsd.org/base/stable/10@323737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ata/ata_xpt.c