From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Subject: Re: [PATCH RFC 0/4] use scatter lists for all block pc requests and simplify hw handlers Date: Wed, 8 Jun 2005 17:08:30 -0700 Message-ID: <20050609000830.GA20616@us.ibm.com> References: <1117847972.23638.62.camel@mina> <1117901234.5005.9.camel@mulgrave> <1117955727.4961.8.camel@mina> <20050606190205.GA6817@us.ibm.com> <1118157976.42a5bc98d6f75@webmail.cs.wisc.edu> <20050607182317.GA12959@us.ibm.com> <42A711BC.9020108@cs.wisc.edu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <42A711BC.9020108@cs.wisc.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mike Christie Cc: James Bottomley , device-mapper development , Jens Axboe , linux-scsi List-Id: linux-scsi@vger.kernel.org On Wed, Jun 08, 2005 at 10:41:48AM -0500, Mike Christie wrote: > Patrick Mansfield wrote: > >On Tue, Jun 07, 2005 at 10:26:16AM -0500, Michael Christie wrote: > > > >>Quoting Patrick Mansfield : > > > > > >>>Why can't the retries be passed down via a new blk req->retries? > >>> > >> > >>Is that all that is needed for dm-multipath? I thought this would be a > >>good time > >>to add some code to allow the finer grained control of retries that could > >>also > >>be used by dm and md. For example do you only want to retry certain > >>failures X > >>numbeer of times? > > > > > >I was looking/thinking about the scsi_scan retries not multipath. > > And I was hoping the same code/framework can be used for scsi, DM, MD, > SG_IO and all other block layer drivers. So use a req->retries instead of the fail fast flag?