[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/2] Switch raw NBD to byte-based
From: |
Eric Blake |
Subject: |
[Qemu-block] [PATCH 0/2] Switch raw NBD to byte-based |
Date: |
Thu, 23 Jun 2016 21:58:57 -0600 |
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
- [Qemu-block] [PATCH 0/2] Switch raw NBD to byte-based,
Eric Blake <=