Skip to content

block: file-posix queue

Paolo Bonzini qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 13 repliesIn review
  2. v47 patches 13 repliesSuperseded
  3. v37 patches 20 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches4 repliesSuperseded
v15 patches2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11file-posix: fix max_iov for /dev/sg devicesblock/file-posix.c+11 -00 replies
2/11scsi-generic: pass max_segments via max_iov field in BlockLimitsblock/file-posix.c hw/scsi/scsi-generic.c+5 -40 replies
3/11osdep: provide ROUND_DOWN macroinclude/qemu/osdep.h+22 -62 replies
4/11block-backend: align max_transfer to request alignmentblock/block-backend.c+3 -31 reply
5/11block: add max_hw_transfer to BlockLimitsblock/block-backend.c block/file-posix.c block/io.c +3 more+25 -21 reply
6/11file-posix: try BLKSECTGET on block devices too, do not round to power of 2block/file-posix.c+38 -291 reply
7/11block: feature detection for host block supportblock/file-posix.c meson.build qapi/block-core.json+37 -161 reply
8/11block: check for sys/disk.hblock.c meson.build+2 -10 replies
9/11block: try BSD disk size ioctls one after anotherblock/file-posix.c+16 -181 reply
10/11block: detect DKIOCGETBLOCKCOUNT/SIZE before useblock/file-posix.c+1 -11 reply
11/11file-posix: handle EINTR during ioctlblock/file-posix.c+3 -12 replies

Reviews trailers per patch

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

PatchMax ReitzWarner LoshPeter MaydellPhilippe Mathieu-Daudé
1/11R-b
2/11R-b
3/11R-b R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b R-b R-b
9/11R-b
10/11R-b Co-authored-by
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/11] block: file-posix queue

New patches:
- 3/4 (for review comments),
- 9 (split for ease of review),
- 11 (new bugfix)

v1->v2: add missing patch

v2->v3: add max_hw_transfer to BlockLimits

v3->v4: fix compilation after patch 1, tweak commit messages according
to Vladimir's review

v4->v5: round down max_transfer and max_hw_transfer to request alignment
checkpatch fixes
return -ENOTSUP, -not -EIO if block limits ioctls fail handle host_cdrom like host_device in QAPI
split "block: try BSD disk size ioctls one after another" new bugfix patch "file-posix: handle EINTR during ioctl"

Joelle van Dyne (3):
block: feature detection for host block support
block: check for sys/disk.h
block: detect DKIOCGETBLOCKCOUNT/SIZE before use

Paolo Bonzini (8):
file-posix: fix max_iov for /dev/sg devices
scsi-generic: pass max_segments via max_iov field in BlockLimits
osdep: provide ROUND_DOWN macro
block-backend: align max_transfer to request alignment
block: add max_hw_transfer to BlockLimits
file-posix: try BLKSECTGET on block devices too, do not round to power of 2
block: try BSD disk size ioctls one after another
file-posix: handle EINTR during ioctl

 block.c                        |   2 +-
 block/block-backend.c          |  19 ++++-
 block/file-posix.c             | 144 ++++++++++++++++++++-------------
 block/io.c                     |   2 +
 hw/scsi/scsi-generic.c         |   6 +-
 include/block/block_int.h      |   7 ++
 include/qemu/osdep.h           |  28 +++++--
 include/sysemu/block-backend.h |   1 +
 meson.build                    |   7 +-
 qapi/block-core.json           |  14 +++-
 10 files changed, 156 insertions(+), 74 deletions(-)
Signature · 1 line
2.31.1