Skip to content

scsi-disk: Complete rerror/werror support

Kevin Wolf qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Addressed Stefan's comments on patch 1/4

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scsi-disk: Implement rerror optionblockdev.c hw/scsi-disk.c+69 -371 reply
2/4block: Allow bdrv_flush to return errorsblock.c block.h block/blkdebug.c +10 more+45 -250 replies
3/4scsi-disk: Complete failed requests in scsi_disk_emulate_commandhw/scsi-disk.c+10 -110 replies
4/4scsi-disk: Implement werror for flusheshw/scsi-disk.c+16 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] scsi-disk: Complete rerror/werror support

SCSI disks currently only support werror for write requests. This series adds rerror for failed read requests and respects werror also for flushes.

v2:
- Addressed Stefan's comments on patch 1/4

Kevin Wolf (4):
scsi-disk: Implement rerror option
block: Allow bdrv_flush to return errors
scsi-disk: Complete failed requests in scsi_disk_emulate_command
scsi-disk: Implement werror for flushes

 block.c           |   21 +++++++--
 block.h           |    2 +-
 block/blkdebug.c  |    4 +-
 block/blkverify.c |    4 +-
 block/cow.c       |    4 +-
 block/qcow.c      |    4 +-
 block/qcow2.c     |    4 +-
 block/raw-posix.c |    4 +-
 block/raw-win32.c |    9 +++-
 block/raw.c       |    4 +-
 block/vdi.c       |    4 +-
 block/vmdk.c      |    4 +-
 block_int.h       |    2 +-
 blockdev.c        |    6 +-
 hw/scsi-disk.c    |  138 +++++++++++++++++++++++++++++++++++------------------
 15 files changed, 140 insertions(+), 74 deletions(-)
Signature · 1 line
1.7.2.3