linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] virtio-scsi fixes for 3.6
@ 2012-07-26 13:28 Paolo Bonzini
  2012-07-26 13:28 ` [PATCH 1/2] virtio-scsi: fix LUNs greater than 255 Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paolo Bonzini @ 2012-07-26 13:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: JBottomley, kvm, linux-scsi, virtualization

James,

patch 1 fixes scanning of LUNs whose number is greater than 255.  QEMU
passes a max_lun of 16383 (because it uses SAM numbering) but in Linux
it must become 32768 (because LUNs above 255 are "relocated" to 16640).
Patch 2 is a resubmission of the patch for online resizing of virtio-scsi
LUNs, which needs to be rebased.

LUNs above 255 now work for all of scanning, hotplug, hotunplug and
resize.

Thanks,

Paolo

Paolo Bonzini (2):
  virtio-scsi: fix LUNs greater than 255
  virtio-scsi: support online resizing of disks

 drivers/scsi/virtio_scsi.c  |   37 +++++++++++++++++++++++++++++++++++--
 include/linux/virtio_scsi.h |    2 ++
 2 files changed, 37 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/2] virtio-scsi event changes for 3.6
@ 2012-07-16 16:05 Paolo Bonzini
  2012-07-16 16:05 ` [PATCH 2/2] virtio-scsi: support online resizing of disks Paolo Bonzini
  0 siblings, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2012-07-16 16:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-scsi, JBottomley

Hi James,

here are two more small patches for virtio-scsi.  The first fixes a
problem with the recently introduced hotplug/hot-unplug support
(happens with LUNs whose number is greater than 255).  The second
introduces support for online resizing of disks.

The host here will also send the sense code via unit attention.
This will be discarded by the high-level driver for non-removable
units.  I sent a separate patch to deal with it for removable
units.

Paolo

Paolo Bonzini (2):
  virtio-scsi: fix parsing of hotplug/hot-unplug LUN number
  virtio-scsi: support online resizing of disks

 drivers/scsi/virtio_scsi.c  |   39 ++++++++-
 include/linux/virtio_scsi.h |    2 +
 2 files changed, 38 insertions(+), 2 deletions(-)


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

end of thread, other threads:[~2012-10-02  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 13:28 [PATCH 0/2] virtio-scsi fixes for 3.6 Paolo Bonzini
2012-07-26 13:28 ` [PATCH 1/2] virtio-scsi: fix LUNs greater than 255 Paolo Bonzini
2012-07-26 13:28 ` [PATCH 2/2] virtio-scsi: support online resizing of disks Paolo Bonzini
2012-10-01 13:11 ` [PATCH 0/2] virtio-scsi fixes for 3.6 Paolo Bonzini
2012-10-02  8:18   ` James Bottomley
2012-10-02  9:12     ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2012-07-16 16:05 [PATCH 0/2] virtio-scsi event changes " Paolo Bonzini
2012-07-16 16:05 ` [PATCH 2/2] virtio-scsi: support online resizing of disks Paolo Bonzini

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).