aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpt2sas_base.h
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-06-17 13:50:11 +0530
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 12:02:25 -0500
commit1bbfa378afbf8a8bfa6f6523e4965398a578ad10 (patch)
treec2e8bd75ecb706b98551e7b011dcbeac107231f4 /drivers/scsi/mpt2sas/mpt2sas_base.h
parent769578ff811e43ccddd96b15640fa7c9df65c374 (diff)
downloadkernel_samsung_smdk4412-1bbfa378afbf8a8bfa6f6523e4965398a578ad10.zip
kernel_samsung_smdk4412-1bbfa378afbf8a8bfa6f6523e4965398a578ad10.tar.gz
kernel_samsung_smdk4412-1bbfa378afbf8a8bfa6f6523e4965398a578ad10.tar.bz2
[SCSI] mpt2sas: Copy message frame before releasing to free pool to have a local reference.
Current driver is not clearing the per device tm_busy flag following the Task Mangement request completion from the IOCTL path. When this flag is set, the IO queues are frozen. The reason the flag didn't get cleared is becuase the driver is referencing memory associated to the mpi request following the completion, when the memory had been reallocated for a new request. When the memory was reallocated, the driver didn't clear the flag becuase it was expecting a task managment reqeust, and the reallocated request was for SCSI_IO. To fix the problem the driver needs to have a cached backup copy of the original reqeust. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
0 files changed, 0 insertions, 0 deletions