]> git.hungrycats.org Git - linux/commit
[PATCH] cciss: fix unlikely startup problem
authorAndrew Morton <akpm@digeo.com>
Sun, 2 Mar 2003 12:38:02 +0000 (04:38 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 2 Mar 2003 12:38:02 +0000 (04:38 -0800)
commitdb54a48079b9163fba73bdb2ba11024bc9eb3413
treed76028fbe1fbbd6131f96a4193ed254542fd5627
parentcf9b6e7a440df130d42ba68317289e041bb4ffea
[PATCH] cciss: fix unlikely startup problem

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.
drivers/block/cciss.c