]> err.no Git - linux-2.6/commit
[PATCH] cciss: direct lookup for command completions
authorMike Miller <mike.miller@hp.com>
Tue, 13 Sep 2005 08:25:22 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:30 +0000 (08:22 -0700)
commit33079b21978f478865068ee6a3c5807b6c6ecdbe
tree086035c299e4dcc0ab6af6623c53ac72be81b303
parentddd474420a0b0dfeda38b6b5f83c7af751235cc3
[PATCH] cciss: direct lookup for command completions

This patch changes the way we complete commands.  In the old method when we
got a completion we searched our command list from the top until we find it.

This method uses a tag associated with each command (not SCSI command tagging)
to index us directly to the completed command.  This helps performance.

Signed-off-by: Don Brace <dab@hp.com>
Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss.c
drivers/block/cciss.h
drivers/block/cciss_cmd.h
drivers/block/cciss_scsi.c