]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: libfc: sanitize E_D_TOV and R_A_TOV setting
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:41 +0000 (15:10 +0200)
committerBrian Maly <brian.maly@oracle.com>
Sun, 12 May 2019 01:53:30 +0000 (21:53 -0400)
commitbbae5db07b75a8d45ce5de767018d45b33c8a8f5
tree7a09f11f08dc3e91d305d224f9d5d67462f4983c
parent1c5dc442ceeee1da9761d114196028edd00e64e3
scsi: libfc: sanitize E_D_TOV and R_A_TOV setting

When setting the FCP timeout we need to ensure a lower boundary
for E_D_TOV and R_A_TOV, otherwise we'd be getting spurious I/O
issues due to the fcp timer firing too early.

Orabug: 25933179

Reviewed-by: John Sobecki <john.sobecki@oracle.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Rajan Shanmugavelu <rajan.shanmugavelu@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/libfc/fc_rport.c