]> git.baikalelectronics.ru Git - kernel.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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:51 +0000 (17:29 -0500)
commit071cbfb4fe521b18ce4368a94246f89c4ecce907
treeccf557dbf9e75bdc32e10bc9490e20fc88a23a8f
parent2d0adbe7cc8befa8e39fa6c238c3fd533107fdf1
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.

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>
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libfc/fc_rport.c