#25 [PATCH] Apply spindown timeout before power modes

closed-fixed
nobody
None
5
2012-09-28
2010-12-26
No

Currently when one does "hdparm -S 120 -y ...", the standby mode is set before the spindown timeout, but setting the timeout spins up the disk at least on my system so the disk spins down and up immediately again. The attached patch moves applying the timeout to happen before setting the power mode, avoiding the immediate spinup. I haven't checked if there are other options that cause a spinup, but if there are, they probably should likewise be moved to happen before setting the power mode.

Discussion

  • Ville Skyttä

    Ville Skyttä - 2010-12-26

    Apply spindown timeout before power modes

     
  • Mark Lord

    Mark Lord - 2012-09-28

    9.42

     
  • Mark Lord

    Mark Lord - 2012-09-28
    • status: open --> closed-fixed
     

Log in to post a comment.