Ed Lin wrote:
There may possibly be some other errors. So we need a lock here.
I think the simple but reliable way to do it is just to replace
queue lock with a host lock. James pointed out that there may be
performance slow down when many devices are accessed at the
same time. But I think the
PROTECTED]
> > > > Sent: Wednesday, January 24, 2007 5:03 PM
> > > > To: Ed Lin; Michael Reed
> > > > Cc: linux-scsi; linux-kernel; james.Bottomley; jeff;
> > > > Promise_Linux; Jens Axboe
> > > > Subject: RE: [patch] scsi: use lock per ho
in; Michael Reed
> > > Cc: linux-scsi; linux-kernel; james.Bottomley; jeff;
> > > Promise_Linux; Jens Axboe
> > > Subject: RE: [patch] scsi: use lock per host instead of per
> > > device for shared queue tag host
> > >
> > >
> > > >
jeff;
> > Promise_Linux; Jens Axboe
> > Subject: RE: [patch] scsi: use lock per host instead of per
> > device for shared queue tag host
> >
> >
> > > It seems another driver(qla4xxx) is also using shared queue tag.
> > > It is natural to imagine th
] scsi: use lock per host instead of per
device for shared queue tag host
It seems another driver(qla4xxx) is also using shared queue tag.
It is natural to imagine there might be same symptom in that
driver. But I don't know the driver and have no hardware so I
can not say
;
Promise_Linux; Jens Axboe
Subject: RE: [patch] scsi: use lock per host instead of per
device for shared queue tag host
It seems another driver(qla4xxx) is also using shared queue tag.
It is natural to imagine there might be same symptom in that
driver. But I don't know
; linux-kernel; james.Bottomley; jeff;
Promise_Linux; Jens Axboe
Subject: RE: [patch] scsi: use lock per host instead of per
device for shared queue tag host
It seems another driver(qla4xxx) is also using shared
queue tag.
It is natural to imagine there might be same
Ed Lin wrote:
There may possibly be some other errors. So we need a lock here.
I think the simple but reliable way to do it is just to replace
queue lock with a host lock. James pointed out that there may be
performance slow down when many devices are accessed at the
same time. But I think the
> -Original Message-
> From: David Somayajulu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 24, 2007 5:03 PM
> To: Ed Lin; Michael Reed
> Cc: linux-scsi; linux-kernel; james.Bottomley; jeff;
> Promise_Linux; Jens Axboe
> Subject: RE: [patch] scsi: use
> It seems another driver(qla4xxx) is also using shared queue tag.
> It is natural to imagine there might be same symptom in that
> driver. But I don't know the driver and have no hardware so I
> can not say anything certain about it.
qla4xxx implements slightly differently, in the sense we don't
> -Original Message-
> From: Michael Reed [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 24, 2007 7:59 AM
> To: Ed Lin
> Cc: linux-scsi; linux-kernel; james.Bottomley; jeff; Promise_Linux
> Subject: Re: [patch] scsi: use lock per host instead of per
> device
On Tue, 2007-01-23 at 16:53 -0800, Ed Lin wrote:
> The block layer uses lock to protect request queue. Every scsi device
> has a unique request queue, and queue lock is the default lock in struct
> request_queue. This is good for normal cases. But for a host with
> shared queue tag (e.g. stex
How 'bout a comment in scsh_host.h indicating that the pointer will be NULL
unless
initialized by the driver?
"Protect shared block queue tag" is unique to stex. Perhaps have no comment on
the variable declaration in scsi_host.h and explain why you use it in stex.
Mike
Ed Lin wrote:
> The
How 'bout a comment in scsh_host.h indicating that the pointer will be NULL
unless
initialized by the driver?
Protect shared block queue tag is unique to stex. Perhaps have no comment on
the variable declaration in scsi_host.h and explain why you use it in stex.
Mike
Ed Lin wrote:
The block
On Tue, 2007-01-23 at 16:53 -0800, Ed Lin wrote:
The block layer uses lock to protect request queue. Every scsi device
has a unique request queue, and queue lock is the default lock in struct
request_queue. This is good for normal cases. But for a host with
shared queue tag (e.g. stex
-Original Message-
From: Michael Reed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 7:59 AM
To: Ed Lin
Cc: linux-scsi; linux-kernel; james.Bottomley; jeff; Promise_Linux
Subject: Re: [patch] scsi: use lock per host instead of per
device for shared queue tag host
It seems another driver(qla4xxx) is also using shared queue tag.
It is natural to imagine there might be same symptom in that
driver. But I don't know the driver and have no hardware so I
can not say anything certain about it.
qla4xxx implements slightly differently, in the sense we don't
-Original Message-
From: David Somayajulu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 5:03 PM
To: Ed Lin; Michael Reed
Cc: linux-scsi; linux-kernel; james.Bottomley; jeff;
Promise_Linux; Jens Axboe
Subject: RE: [patch] scsi: use lock per host instead of per
18 matches
Mail list logo