From: Moger, Babu Date: Fri, 11 Feb 2011 22:14:08 +0000 (-0700) Subject: [SCSI] scsi_dh_rdac: fix for lun_table update for rdac device handler X-Git-Tag: v2.6.39-rc1~440^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b6e153b64471ff43dde82b0122e67cf491f2f5;p=pandora-kernel.git [SCSI] scsi_dh_rdac: fix for lun_table update for rdac device handler During one of our testing, we noticed that mode select command sent from the host did not have the lun_table updated. Problem is root caused to the way lun table is updated. Lun table update was done after the call to blk_rq_map_kern is made. This was causing problem because kernel uses bounce buffer(bio_copy_kern) if the address is not aligned. The command buffer updated after the call(blk_rq_map_kern) was not going on the wire. Moved the code to update the lun_table before the call to fix the problem. Signed-off-by: Babu Moger Signed-off-by: Somasundaram Krishnasamy Signed-off-by: Yanling Qi Signed-off-by: James Bottomley --- Reading git-diff-tree failed