qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] Byte-based block limits
@ 2016-06-03 17:03 Eric Blake
  2016-06-03 17:03 ` [Qemu-devel] [PATCH 1/5] block: Tighter assertions on bdrv_aligned_preadv() Eric Blake
                   ` (6 more replies)
  0 siblings, 7 replies; 27+ messages in thread
From: Eric Blake @ 2016-06-03 17:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: mreitz, kwolf, qemu-block

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

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

end of thread, other threads:[~2016-06-14 15:30 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03 17:03 [Qemu-devel] [PATCH 0/5] Byte-based block limits Eric Blake
2016-06-03 17:03 ` [Qemu-devel] [PATCH 1/5] block: Tighter assertions on bdrv_aligned_preadv() Eric Blake
2016-06-07 12:15   ` Kevin Wolf
2016-06-03 17:03 ` [Qemu-devel] [PATCH 2/5] block: Honor flags during bdrv_aligned_preadv() Eric Blake
2016-06-07 12:12   ` Kevin Wolf
2016-06-11 21:43     ` Eric Blake
2016-06-03 17:03 ` [Qemu-devel] [PATCH 3/5] block: Switch transfer length bounds to byte-based Eric Blake
2016-06-07 12:45   ` Kevin Wolf
2016-06-11 22:06     ` Eric Blake
2016-06-14  8:20       ` Kevin Wolf
2016-06-03 17:03 ` [Qemu-devel] [PATCH 4/5] block: Switch discard " Eric Blake
2016-06-07 13:12   ` Kevin Wolf
2016-06-03 17:03 ` [Qemu-devel] [PATCH 5/5] block: Move request_alignment into BlockLimit Eric Blake
2016-06-03 17:49   ` Eric Blake
2016-06-03 21:43     ` Eric Blake
2016-06-07 10:08       ` Kevin Wolf
2016-06-07 11:04         ` Paolo Bonzini
2016-06-07 11:24           ` Kevin Wolf
2016-06-14  4:39         ` Eric Blake
2016-06-14  8:05           ` Kevin Wolf
2016-06-14 14:47             ` Eric Blake
2016-06-14 15:30               ` Kevin Wolf
2016-06-07 13:19   ` Kevin Wolf
2016-06-03 23:06 ` [Qemu-devel] [PATCH 6/5] block: Fix harmless off-by-one in bdrv_aligned_preadv() Eric Blake
2016-06-07 13:47   ` Kevin Wolf
2016-06-03 23:13 ` [Qemu-devel] [PATCH 7/5] block: Refactor zero_beyond_eof hack " Eric Blake
2016-06-07 13:49   ` Kevin Wolf

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