]> git.baikalelectronics.ru Git - kernel.git/commit
cxlflash: Fix read capacity timeout
authorManoj Kumar <kumarmn@us.ibm.com>
Wed, 21 Oct 2015 20:11:10 +0000 (15:11 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 30 Oct 2015 07:58:09 +0000 (16:58 +0900)
commit85904784cb4e839414130ef62779630558b5acf4
treea2b2778ede4b8b257f4e8665d3b84060df258c5f
parent104262135996d1d0000424ee7f2a59afd124d42b
cxlflash: Fix read capacity timeout

The timeout value for read capacity is too small. Certain devices
may take longer to respond and thus the command may prematurely
timeout. Additionally the literal used for the timeout is stale.

Update the timeout to 30 seconds (matches the value used in sd.c)
and rework the timeout literal to a more appropriate description.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/cxlflash/superpipe.c
drivers/scsi/cxlflash/superpipe.h
drivers/scsi/cxlflash/vlun.c