Stephen M. Cameron
adfbc1ff34
cciss: sanitize max commands
...
cciss: sanitize max commands
Some controllers might try to tell us they support 0 commands
in performant mode. This is a lie told by buggy firmware.
We have to be wary of this lest we try to allocate a negative
number of command blocks, which will be treated as unsigned,
and get an out of memory condition.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com >
Signed-off-by: Jens Axboe <jaxboe@fusionio.com >
2010-08-07 18:52:30 +02:00
..
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:00 +02:00
2010-08-07 18:52:30 +02:00
2010-08-07 18:52:10 +02:00
2010-02-22 13:44:45 +01:00
2010-08-07 18:52:30 +02:00
2010-08-07 18:52:12 +02:00
2010-08-07 18:25:34 +02:00
2005-04-16 15:20:36 -07:00
2008-04-18 22:16:32 -04:00
2010-08-07 18:25:34 +02:00
2007-09-11 17:21:19 -07:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:17:56 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2010-05-11 09:02:55 +02:00
2010-08-07 18:25:34 +02:00
2009-10-01 21:17:49 +02:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:25:00 +02:00
2010-08-07 18:24:15 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:24:15 +02:00
2010-03-30 22:02:32 +09:00
2005-04-16 15:20:36 -07:00
2010-02-26 13:58:08 +01:00
2010-08-07 18:25:34 +02:00
2009-03-26 21:15:27 +01:00
2010-08-07 18:25:34 +02:00
2010-02-26 13:58:08 +01:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:20:39 +02:00
2007-10-10 09:25:59 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:00 +02:00
2010-08-07 18:25:00 +02:00
2008-10-21 07:48:11 -04:00
2010-08-07 18:51:21 +02:00
2010-08-07 18:25:34 +02:00
2010-08-07 18:25:34 +02:00