From: Christoph Hellwig Date: Thu, 20 Feb 2014 22:21:01 +0000 (-0800) Subject: [SCSI] add support for per-host cmd pools X-Git-Tag: v3.15-rc1~136^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d9a567952baec13e26ada3e438f1b642d66b6e;p=pandora-kernel.git [SCSI] add support for per-host cmd pools This allows drivers to specify the size of their per-command private data in the host template and then get extra memory allocated for each command instead of needing another allocation in ->queuecommand. With the current SCSI code that already does multiple allocations for each command this probably doesn't make a big performance impact, but it allows to clean up the drivers, and prepare them for using the blk-mq infrastructure where the common allocation will make a difference. Signed-off-by: Christoph Hellwig Reviewed-by: Paolo Bonzini Signed-off-by: James Bottomley --- Reading git-diff-tree failed