HomeFreeBSD

adaspindown: check disk power mode before sending IDLE command

Description

adaspindown: check disk power mode before sending IDLE command

If a disk is already in STANDBY mode, then setting IDLE mode can
actually spin it up.

(cherry picked from commit 15910dc0bcb526d575f8cc49efe1f98a5091c88e)

Details

Provenance
avgAuthored on Dec 24 2021, 9:02 AM
Parents
rG9f192dd79cce: netbsd-tests: Fix the libc stat_socket test
Branches
Unknown
Tags
Unknown