Handle RB_POWERCYCLE in ada driver
Allow the disks to be spun down when doing a POWERCYCLE as well as POWEROFF. Sponsored by: Netflix
This commit is contained in:
parent
a46386815a
commit
369f9fa7ad
@ -3513,7 +3513,7 @@ adashutdown(void *arg, int howto)
|
||||
|
||||
adaflush();
|
||||
if (ada_spindown_shutdown != 0 &&
|
||||
(howto & (RB_HALT | RB_POWEROFF)) != 0)
|
||||
(howto & (RB_HALT | RB_POWEROFF | RB_POWERCYCLE)) != 0)
|
||||
adaspindown(ATA_STANDBY_IMMEDIATE, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user