qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 4bbeb8: scsi-disk: Improve error messager if


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 4bbeb8: scsi-disk: Improve error messager if can't get ver...
Date: Mon, 19 May 2014 05:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4bbeb8b173e8116851d5ececb93189ae34c68309
      
https://github.com/qemu/qemu/commit/4bbeb8b173e8116851d5ececb93189ae34c68309
  Author: Fam Zheng <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M hw/scsi/scsi-disk.c

  Log Message:
  -----------
  scsi-disk: Improve error messager if can't get version number

More often it is that bdrv_ioctl fails due to not supported by driver or
whatever reason, in this case we should be specific, because "interface
too old" is very confusing.

Signed-off-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6ee143a0a4f8b5c437ac327e3d694a6a0e5380ad
      
https://github.com/qemu/qemu/commit/6ee143a0a4f8b5c437ac327e3d694a6a0e5380ad
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c

  Log Message:
  -----------
  scsi: Improve error messages more

Remove the "scsi-block:" prefix for error messages as suggested
by Markus.

Improve the previous patch by making the message the same for both
scsi-block and scsi-generic, including the strerror() output in both
and making an explicit reference to SG_IO.  Also s/can not/cannot/.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 34bb4d02e00e508fa9d111a6a31b45bbfecbdba5
      
https://github.com/qemu/qemu/commit/34bb4d02e00e508fa9d111a6a31b45bbfecbdba5
  Author: Hannes Reinecke <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M hw/scsi/megasas.c
    M hw/scsi/mfi.h
    M trace-events

  Log Message:
  -----------
  megasas: Implement LD_LIST_QUERY

Newer firmware implement a LD_LIST_QUERY command, and due to a driver
issue no drives might be detected if this command isn't supported.
So add emulation for this command, too.

Cc: address@hidden
Signed-off-by: Hannes Reinecke <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 23335f6273518925614f5ed2ccd71dabd07413ca
      
https://github.com/qemu/qemu/commit/23335f6273518925614f5ed2ccd71dabd07413ca
  Author: Hannes Reinecke <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  megasas: Enable MSI-X support

MSI-X support has been fixed in qemu, so we can enable it again.

Signed-off-by: Hannes Reinecke <address@hidden>
[Do not change VMSTATE_PCI_DEVICE to PCIE. - Paolo]
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 4522b69c6cb9396e4ea8dc03b68f3ee7cee32f90
      
https://github.com/qemu/qemu/commit/4522b69c6cb9396e4ea8dc03b68f3ee7cee32f90
  Author: Hannes Reinecke <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M hw/scsi/megasas.c
    M trace-events

  Log Message:
  -----------
  megasas: Add MSI support

Some hardware instances do support MSI, so we should do likewise.

Signed-off-by: Hannes Reinecke <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d383c625e219b3f53651e1f64c88f3fa30348af7
      
https://github.com/qemu/qemu/commit/d383c625e219b3f53651e1f64c88f3fa30348af7
  Author: Hannes Reinecke <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: mark megasas as maintained

Signed-off-by: Hannes Reinecke <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: dbe5c58f2a44f49572b3346400779fac818fcaea
      
https://github.com/qemu/qemu/commit/dbe5c58f2a44f49572b3346400779fac818fcaea
  Author: Peter Lieven <address@hidden>
  Date:   2014-04-28 (Mon, 28 Apr 2014)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  block/iscsi: allow fall back to WRITE SAME without UNMAP

if the iscsi driver receives a write zeroes request with
the BDRV_REQ_MAY_UNMAP flag set it fails with -ENOTSUP
if the iscsi target does not support WRITE SAME with
UNMAP. However, the BDRV_REQ_MAY_UNMAP is only a hint
and writing zeroes with WRITE SAME will still be
better than falling back to writing zeroes with WRITE16.

Signed-off-by: Peter Lieven <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b03c38057b7ac4ffb60fa98a26dd4c8d5fa9c54c
      
https://github.com/qemu/qemu/commit/b03c38057b7ac4ffb60fa98a26dd4c8d5fa9c54c
  Author: Peter Lieven <address@hidden>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  block/iscsi: speed up read for unallocated sectors

this patch implements a cache that tracks if a page on the
iscsi target is allocated or not. The cache is implemented in
a way that it allows for false positives
(e.g. pretending a page is allocated, but it isn't), but
no false negatives.

The cached allocation info is then used to speed up the
read process for unallocated sectors by issueing a GET_LBA_STATUS
request for all sectors that are not yet known to be allocated.
If the read request is confirmed to fall into an unallocated
range we directly return zeroes and do not transfer the
data over the wire.

Tests have shown that a relatively small amount of GET_LBA_STATUS
requests happens a vServer boot time to fill the allocation cache
(all those blocks are not queried again).

Not to transfer all the data of unallocated sectors saves a lot
of time, bandwidth and storage I/O load during block jobs or storage
migration and it saves a lot of bandwidth as well for any big sequential
read of the whole disk (e.g. block copy or speed tests) if a significant
number of blocks is unallocated.

Signed-off-by: Peter Lieven <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5917af812e9c4bd6500927b26efe8d3e2f267bd0
      
https://github.com/qemu/qemu/commit/5917af812e9c4bd6500927b26efe8d3e2f267bd0
  Author: Peter Lieven <address@hidden>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  block/iscsi: clarify the meaning of ISCSI_CHECKALLOC_THRES

Signed-off-by: Peter Lieven <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3d2acaa308bfab65329ef983654b302899bfb2b0
      
https://github.com/qemu/qemu/commit/3d2acaa308bfab65329ef983654b302899bfb2b0
  Author: Peter Lieven <address@hidden>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  block/iscsi: allow cluster_size of 4K and greater

depending on the target the opt_unmap_gran might be as low
as 4K. As we know use this also as a knob to activate the allocationmap
feature lower the barrier. The limit 4K (and not 512) is choosen
to avoid a potentially too big allocationmap.

Signed-off-by: Peter Lieven <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6a86dec61921163b6ab582df988416a6f0ca0ed5
      
https://github.com/qemu/qemu/commit/6a86dec61921163b6ab582df988416a6f0ca0ed5
  Author: Peter Lieven <address@hidden>
  Date:   2014-05-05 (Mon, 05 May 2014)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  [PATCH] block/iscsi: bump year in copyright notice

Signed-off-by: Peter Lieven <address@hidden>


  Commit: 6a23082b4eca28df6a26efae8016d2f2f0921da5
      
https://github.com/qemu/qemu/commit/6a23082b4eca28df6a26efae8016d2f2f0921da5
  Author: Peter Maydell <address@hidden>
  Date:   2014-05-19 (Mon, 19 May 2014)

  Changed paths:
    M MAINTAINERS
    M block/iscsi.c
    M hw/scsi/megasas.c
    M hw/scsi/mfi.h
    M hw/scsi/scsi-disk.c
    M hw/scsi/scsi-generic.c
    M trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini/scsi-next' into staging

* remotes/bonzini/scsi-next:
  [PATCH] block/iscsi: bump year in copyright notice
  block/iscsi: allow cluster_size of 4K and greater
  block/iscsi: clarify the meaning of ISCSI_CHECKALLOC_THRES
  block/iscsi: speed up read for unallocated sectors
  block/iscsi: allow fall back to WRITE SAME without UNMAP
  MAINTAINERS: mark megasas as maintained
  megasas: Add MSI support
  megasas: Enable MSI-X support
  megasas: Implement LD_LIST_QUERY
  scsi: Improve error messages more
  scsi-disk: Improve error messager if can't get version number

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/1a381811b495...6a23082b4eca

reply via email to

[Prev in Thread] Current Thread [Next in Thread]