[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/5] Byte-based block limits
From: |
Eric Blake |
Subject: |
[Qemu-block] [PATCH 0/5] Byte-based block limits |
Date: |
Fri, 3 Jun 2016 11:03:03 -0600 |
BlockLimits is currently an ugly mix of byte limits vs.
sector limits. Unify it. Fix some bugs I found in
bdrv_aligned_preadv() while at it.
Probably conflicts with Kevin's ongoing work to migrate
bdrv_aligned_preadv() to be byte-based, but I found this
handy before tackling conversion of 'discard' interfaces,
and before implementing an auto-fragmenting to max_transfer
size at the block layer.
Also available as a tag at:
git fetch git://repo.or.cz/qemu/ericb.git nbd-limits-v1
Eric Blake (5):
block: Tighter assertions on bdrv_aligned_preadv()
block: Honor flags during bdrv_aligned_preadv()
block: Switch transfer length bounds to byte-based
block: Switch discard length bounds to byte-based
block: Move request_alignment into BlockLimit
include/block/block_int.h | 43 +++++++++++++++++++----------
include/sysemu/block-backend.h | 2 +-
block.c | 4 +--
block/blkdebug.c | 4 +--
block/block-backend.c | 9 +++---
block/bochs.c | 2 +-
block/cloop.c | 2 +-
block/dmg.c | 2 +-
block/io.c | 62 ++++++++++++++++++++++--------------------
block/iscsi.c | 37 ++++++++++++-------------
block/nbd.c | 4 +--
block/raw-posix.c | 18 ++++++------
block/raw-win32.c | 6 ++--
block/vvfat.c | 2 +-
hw/block/virtio-blk.c | 12 ++++----
hw/scsi/scsi-generic.c | 14 +++++-----
qemu-img.c | 9 +++---
17 files changed, 126 insertions(+), 106 deletions(-)
--
2.5.5