]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] megaraid_sas: Don't wait forever for non-IOCTL DCMDs
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Wed, 12 Feb 2014 18:06:15 +0000 (23:36 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:20 +0000 (10:19 -0700)
commitcfbe7554f6ebdf8034604d3cc90afd60cbb2195e
tree5b9be0fbd6830d22def10a2ee7cd46f5e9df6e6d
parente2c70425f05219b142b3a8a9489a622c736db39d
[SCSI] megaraid_sas: Don't wait forever for non-IOCTL DCMDs

Don't wait forever for firmware response for internal DCMDs sent from driver
firmware. Such DCMDs will be posted to firmware with timeout. Timeout is also
introduced for DCMD sent to abort the commands. DCMD sent via IOCTL path will
still be always blocking to keep the IOCTL design intact.

Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/megaraid/megaraid_sas_fusion.c