qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/7] scsi and megasas update
@ 2010-06-15 15:15 Hannes Reinecke
  2010-11-04 20:49 ` Alexander Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Hannes Reinecke @ 2010-06-15 15:15 UTC (permalink / raw)
  To: Nicholas A. Bellinger; +Cc: qemu-devel@nongnu.org

Hi all,

I've run an I/O exerciser against the megasas emulation and
found quite some issues, both with the HBA and the SCSI
emulation.

- SG_IO returns -EDOM if the internal queue is exhausted;
  we should be mapping this to QUEUE_FULL.
- Codingstyle fixes for megasas as suggested by blueswirl
- We should be using the status codes as defined by SAM,
  not the linux ones (which are shifted by one)
- Each driver has it's own mechanism of storing the
  sense data, so we should be implementing an accessor
  scsi_req_sense() to retrieve it.
- And, of course, a rather largish megasas update

Patches are relative to nab's qemu-kvm git tree at
git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git

Nab, I think this patchset should make Windows happy.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH 0/7] scsi and megasas update
  2010-06-15 15:15 [Qemu-devel] [PATCH 0/7] scsi and megasas update Hannes Reinecke
@ 2010-11-04 20:49 ` Alexander Graf
  2010-11-05  7:21   ` Hannes Reinecke
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2010-11-04 20:49 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: qemu-devel@nongnu.org, Nicholas A. Bellinger


On 15.06.2010, at 11:15, Hannes Reinecke wrote:

> Hi all,
> 
> I've run an I/O exerciser against the megasas emulation and
> found quite some issues, both with the HBA and the SCSI
> emulation.
> 
> - SG_IO returns -EDOM if the internal queue is exhausted;
>  we should be mapping this to QUEUE_FULL.
> - Codingstyle fixes for megasas as suggested by blueswirl
> - We should be using the status codes as defined by SAM,
>  not the linux ones (which are shifted by one)
> - Each driver has it's own mechanism of storing the
>  sense data, so we should be implementing an accessor
>  scsi_req_sense() to retrieve it.
> - And, of course, a rather largish megasas update
> 
> Patches are relative to nab's qemu-kvm git tree at
> git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git
> 
> Nab, I think this patchset should make Windows happy.

Got an updated version? :)
I'd also love to see some performance numbers on this. How well does it perform against virtio?


Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH 0/7] scsi and megasas update
  2010-11-04 20:49 ` Alexander Graf
@ 2010-11-05  7:21   ` Hannes Reinecke
  2010-11-06 10:44     ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Hannes Reinecke @ 2010-11-05  7:21 UTC (permalink / raw)
  To: Alexander Graf; +Cc: qemu-devel@nongnu.org, Nicholas A. Bellinger

On 11/04/2010 09:49 PM, Alexander Graf wrote:
> 
> On 15.06.2010, at 11:15, Hannes Reinecke wrote:
> 
>> Hi all,
>>
>> I've run an I/O exerciser against the megasas emulation and
>> found quite some issues, both with the HBA and the SCSI
>> emulation.
>>
>> - SG_IO returns -EDOM if the internal queue is exhausted;
>>  we should be mapping this to QUEUE_FULL.
>> - Codingstyle fixes for megasas as suggested by blueswirl
>> - We should be using the status codes as defined by SAM,
>>  not the linux ones (which are shifted by one)
>> - Each driver has it's own mechanism of storing the
>>  sense data, so we should be implementing an accessor
>>  scsi_req_sense() to retrieve it.
>> - And, of course, a rather largish megasas update
>>
>> Patches are relative to nab's qemu-kvm git tree at
>> git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git
>>
>> Nab, I think this patchset should make Windows happy.
> 
> Got an updated version? :)

Sadly, no. I've got a git repository setup at kernel.org,
but so far failed to do anything with it.
Real life intercepting as per normal.

But on the good side I have the patchset cleaned up
to avoid the contested SCSI update.
IE the megasas emulation is now using the 'standard'
SCSI callback mechanism.

I see to have the patchset pushed to kernel.org
and will send a pointer then.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH 0/7] scsi and megasas update
  2010-11-05  7:21   ` Hannes Reinecke
@ 2010-11-06 10:44     ` Stefan Hajnoczi
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2010-11-06 10:44 UTC (permalink / raw)
  To: Hannes Reinecke
  Cc: Alexander Graf, Nicholas A. Bellinger, qemu-devel@nongnu.org

On Fri, Nov 5, 2010 at 7:21 AM, Hannes Reinecke <hare@suse.de> wrote:
> On 11/04/2010 09:49 PM, Alexander Graf wrote:
>>
>> Got an updated version? :)
>
> I see to have the patchset pushed to kernel.org
> and will send a pointer then.

I'm also interested in seeing the latest and greatest megasas :).

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-06 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 15:15 [Qemu-devel] [PATCH 0/7] scsi and megasas update Hannes Reinecke
2010-11-04 20:49 ` Alexander Graf
2010-11-05  7:21   ` Hannes Reinecke
2010-11-06 10:44     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).