From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGIGs-0001b6-Ad for qemu-devel@nongnu.org; Thu, 23 Jun 2016 23:59:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGIGm-0004GB-EU for qemu-devel@nongnu.org; Thu, 23 Jun 2016 23:59:09 -0400 Received: from resqmta-po-08v.sys.comcast.net ([2001:558:fe16:19:96:114:154:167]:53451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGIGm-0004Fa-7Y for qemu-devel@nongnu.org; Thu, 23 Jun 2016 23:59:04 -0400 From: Eric Blake Date: Thu, 23 Jun 2016 21:58:57 -0600 Message-Id: <1466740739-7240-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] Switch raw NBD to byte-based List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, qemu-block@nongnu.org, kwolf@redhat.com 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