Re: Drivers: scsi: FLUSH timeout

2013-10-04 Thread Ewan Milne
On Thu, 2013-10-03 at 13:48 -0700, Eric Seppanen wrote: On Thu, Oct 3, 2013 at 5:09 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Wed, 2013-10-02 at 18:29 +, KY Srinivasan wrote: Ideally, I want this to be adjustable like the way we can change the I/O timeout. Since

Re: Drivers: scsi: FLUSH timeout

2013-10-04 Thread James Bottomley
; linux-s...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On Thu, Oct 3, 2013 at 5:09 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Wed, 2013-10-02 at 18:29 +, KY Srinivasan wrote: Ideally, I want this to be adjustable like the way we can change the I/O

Re: Drivers: scsi: FLUSH timeout

2013-10-03 Thread Nicholas A. Bellinger
KH; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; jbottom...@parallels.com; h...@infradead.org; linux-s...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On Tue, Sep 24, 2013 at 11:53 PM, KY Srinivasan k...@microsoft.com wrote: I am not sure

RE: Drivers: scsi: FLUSH timeout

2013-10-03 Thread KY Srinivasan
...@parallels.com; h...@infradead.org; linux-s...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On Wed, 2013-10-02 at 18:29 +, KY Srinivasan wrote: -Original Message- From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] On Behalf Of Geert

RE: Drivers: scsi: FLUSH timeout

2013-10-02 Thread KY Srinivasan
...@linuxdriverproject.org; oher...@suse.com; jbottom...@parallels.com; h...@infradead.org; linux-s...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On Tue, Sep 24, 2013 at 11:53 PM, KY Srinivasan k...@microsoft.com wrote: I am not sure how that magic number was arrived at (the 60HZ number). We want

Re: Drivers: scsi: FLUSH timeout

2013-09-24 Thread Jack Wang
; h...@infradead.org; linux- s...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On Fri, Sep 20, 2013 at 12:32:27PM -0700, K. Y. Srinivasan wrote: The SD_FLUSH_TIMEOUT value is currently hardcoded. Hardcoded where? Please, more context. This is defined in scsi/sd.h: #define

Re: Drivers: scsi: FLUSH timeout

2013-09-24 Thread Bernd Schubert
...@infradead.org; linux- s...@vger.kernel.org; Mike Christie Subject: Re: Drivers: scsi: FLUSH timeout On 09/21/2013 07:24 AM, KY Srinivasan wrote: -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Friday, September 20, 2013 1:32 PM To: KY Srinivasan Cc: linux

Re: Drivers: scsi: FLUSH timeout

2013-09-24 Thread Mike Christie
...@parallels.com; h...@infradead.org; linux- s...@vger.kernel.org; Mike Christie Subject: Re: Drivers: scsi: FLUSH timeout On 09/21/2013 07:24 AM, KY Srinivasan wrote: -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Friday, September 20, 2013 1:32 PM To: KY Srinivasan

RE: Drivers: scsi: FLUSH timeout

2013-09-24 Thread KY Srinivasan
; linux-s...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On 09/24/2013 07:35 AM, KY Srinivasan wrote: -Original Message- From: Jack Wang [mailto:xjtu...@gmail.com] Sent: Tuesday, September 24, 2013 5:08 AM To: KY Srinivasan Cc: Greg KH; linux-ker...@vger.kernel.org

Drivers: scsi: FLUSH timeout

2013-09-20 Thread K. Y. Srinivasan
The SD_FLUSH_TIMEOUT value is currently hardcoded. On our cloud, we sometimes hit this timeout. I was wondering if we could make this a module parameter. If this is acceptable, I can send you a patch for this. Regards, K. Y ___ devel mailing list

RE: Drivers: scsi: FLUSH timeout

2013-09-20 Thread KY Srinivasan
...@vger.kernel.org Subject: Re: Drivers: scsi: FLUSH timeout On Fri, Sep 20, 2013 at 12:32:27PM -0700, K. Y. Srinivasan wrote: The SD_FLUSH_TIMEOUT value is currently hardcoded. Hardcoded where? Please, more context. This is defined in scsi/sd.h: #define SD_FLUSH_TIMEOUT(60 * HZ) On our