• Andrew Morton's avatar
    [PATCH] cciss: fix unlikely startup problem · db54a480
    Andrew Morton authored
    Patch from Stephen Cameron <steve.cameron@hp.com>
    
    
    * Make cciss driver wait longer for board to enter simple mode to
      handle an unlikely corner case.  (Hot replace of failed 144GB
      drive in RAID 5 set at just the wrong time prior to driver loading
      can make the board take a longer than usual time to go into "simple
      mode".  Without the patch, the driver gives up too early, and consequently
      doesn't work.  (A reboot will generally "fix" it.)  This patch avoids
      the problem.
    * Fix a couple ioctls to return EAGAIN instead of inappropriate EFAULT.
    db54a480
cciss.c 71.3 KB