qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Switch raw NBD to byte-based
@ 2016-06-24  3:58 Eric Blake
  2016-06-24  3:58 ` [Qemu-devel] [PATCH 1/2] nbd: Convert to byte-based interface Eric Blake
  2016-06-24  3:58 ` [Qemu-devel] [PATCH 2/2] raw_bsd: " Eric Blake
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Blake @ 2016-06-24  3:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, qemu-block, kwolf

With these two patches, I'm finally able to run:

./qemu-nbd -f raw -x foo file
./qemu-io -f raw -t none nbd://localhost:10809/foo

and get true byte-based access over the wire for operations such
as 'r 1 1' or 'w 1 1', rather than RMW sector-aligned access.

Depends on these series:
v3 Byte-based block limits:
https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg06983.html
v1 Auto-fragment large transactions at the block layer:
https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg05819.html
v1 byte-based block discard:
https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg06491.html

Eric Blake (2):
  nbd: Convert to byte-based interface
  raw_bsd: Convert to byte-based interface

 block/nbd-client.h  |  8 ++++----
 include/block/nbd.h |  1 -
 block/nbd-client.c  | 30 +++++++++++++++++-------------
 block/nbd.c         | 12 ++++++------
 block/raw_bsd.c     | 35 +++++++++++++++++------------------
 5 files changed, 44 insertions(+), 42 deletions(-)

-- 
2.5.5

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

end of thread, other threads:[~2016-06-27 12:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-24  3:58 [Qemu-devel] [PATCH 0/2] Switch raw NBD to byte-based Eric Blake
2016-06-24  3:58 ` [Qemu-devel] [PATCH 1/2] nbd: Convert to byte-based interface Eric Blake
2016-06-27 12:19   ` Paolo Bonzini
2016-06-24  3:58 ` [Qemu-devel] [PATCH 2/2] raw_bsd: " Eric Blake
2016-06-27 12:19   ` Paolo Bonzini
2016-06-27 12:51     ` Eric Blake

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