summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMike Miller <mike.miller@hp.com>2008-07-04 20:05:25 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-24 09:14:06 -0700
commitaeb36f4e43e8af7677a5f72be48e4751cf9e6eb2 (patch)
treeea4858a62aed21d5ed08655a2ec7108bb89aa7be /net
parentce07e7b0991a0a3171e97ca76f1cc576ba88e787 (diff)
cciss: read config to obtain max outstanding commands per controller
commit 491539982aa01fa71de93c2a06ac5d890d4cf1e2 upstream This patch changes the way we determine the maximum number of outstanding commands for each controller. Most Smart Array controllers can support up to 1024 commands, the notable exceptions are the E200 and E200i. The next generation of controllers which were just added support a mode of operation called Zero Memory Raid (ZMR). In this mode they only support 64 outstanding commands. In Full Function Raid (FFR) mode they support 1024. We have been setting the queue depth by arbitrarily assigning some value for each controller. We needed a better way to set the queue depth to avoid lots of annoying "fifo full" messages. So we made the driver a little smarter. We now read the config table and subtract 4 from the returned value. The -4 is to allow some room for ioctl calls which are not tracked the same way as io commands are tracked. Please consider this for inclusion. Signed-off-by: Mike Miller <mike.miller@hp.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions