From: James Bottomley Date: Fri, 4 Oct 2013 21:42:24 +0000 (+0000) Subject: [SCSI] Derive the FLUSH_TIMEOUT from the basic I/O timeout X-Git-Tag: v3.13-rc1~99^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e660100d85af860e7ad763202fff717adcdaacd;p=pandora-kernel.git [SCSI] Derive the FLUSH_TIMEOUT from the basic I/O timeout Rather than having a separate constant for specifying the timeout on FLUSH operations, use the basic I/O timeout value that is already configurable on a per target basis to derive the FLUSH timeout. Looking at the current definitions of these timeout values, the FLUSH operation is supposed to have a value that is twice the normal timeout value. This patch preserves this relationship while leveraging the flexibility of specifying the I/O timeout. Based on a prior patch by KY Srinivasan Reviewed-by: KY Srinivasan Signed-off-by: James Bottomley --- Reading git-diff-tree failed