]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: libfc: sanitize E_D_TOV and R_A_TOV setting in fcp
authorHannes Reinecke <hare@suse.de>
Thu, 13 Oct 2016 13:10:41 +0000 (15:10 +0200)
committerBrian Maly <brian.maly@oracle.com>
Tue, 25 Jun 2019 20:19:23 +0000 (16:19 -0400)
commit3e85ff6cd3be8945c5ee3d00afa99c10eae64c50
tree480808f15bfe56662a258581d0b8dfbe1699a9e2
parent8c353a5c3b95efc90a1f238ec029568c168c0819
scsi: libfc: sanitize E_D_TOV and R_A_TOV setting in fcp

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.

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>
Orabug: 29511036

(cherry picked from commit 76e72ad117812bb79abf647ac40ca6df1740b729)
Signed-off-by: Rajan Shanmugavelu <rajan.shanmugavelu@oracle.com>
Reviewed-by: Joe Jin <joe.jin@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libfc/fc_lport.c