All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.7 v5 00/14] nbd: efficient write zeroes
@ 2016-07-19  4:07 Eric Blake
  2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 01/14] nbd: Fix bad flag detection on server Eric Blake
                   ` (15 more replies)
  0 siblings, 16 replies; 55+ messages in thread
From: Eric Blake @ 2016-07-19  4:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block, pbonzini

The upstream NBD protocol is proposing an extension for efficient
write zeroes; having a qemu implementation will be one of the reasons
to promote the proposal from experimental to standard:
https://github.com/yoe/nbd/blob/extension-write-zeroes/doc/proto.md

v4 was here:
https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg07463.html

Prerequisites:
v3 Auto-fragment large transactions at the block layer:
https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg03550.html
v2 byte-based block discard:
https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg03592.html

Also available as a tag at:
git fetch git://repo.or.cz/qemu/ericb.git nbd-zero-v5

changes since v4:
- patch 2 - Rebase to latest
- patch 6, 10 - Address review comments [Paolo]
- patch 14 - Update commit message to address review comments [Paolo]

001/14:[----] [--] 'nbd: Fix bad flag detection on server'
002/14:[0004] [FC] 'nbd: Add qemu-nbd -D for human-readable description'
003/14:[----] [--] 'nbd: Limit nbdflags to 16 bits'
004/14:[----] [--] 'nbd: Treat flags vs. command type as separate fields'
005/14:[----] [--] 'nbd: Share common reply-sending code in server'
006/14:[0010] [FC] 'nbd: Send message along with server NBD_REP_ERR errors'
007/14:[----] [--] 'nbd: Share common option-sending code in client'
008/14:[----] [--] 'nbd: Let server know when client gives up negotiation'
009/14:[----] [--] 'nbd: Let client skip portions of server reply'
010/14:[0059] [FC] 'nbd: Less allocation during NBD_OPT_LIST'
011/14:[----] [--] 'nbd: Support shorter handshake'
012/14:[----] [--] 'nbd: Improve server handling of shutdown requests'
013/14:[----] [--] 'nbd: Implement NBD_CMD_WRITE_ZEROES on server'
014/14:[----] [--] 'nbd: Implement NBD_CMD_WRITE_ZEROES on client'

Eric Blake (14):
  nbd: Fix bad flag detection on server
  nbd: Add qemu-nbd -D for human-readable description
  nbd: Limit nbdflags to 16 bits
  nbd: Treat flags vs. command type as separate fields
  nbd: Share common reply-sending code in server
  nbd: Send message along with server NBD_REP_ERR errors
  nbd: Share common option-sending code in client
  nbd: Let server know when client gives up negotiation
  nbd: Let client skip portions of server reply
  nbd: Less allocation during NBD_OPT_LIST
  nbd: Support shorter handshake
  nbd: Improve server handling of shutdown requests
  nbd: Implement NBD_CMD_WRITE_ZEROES on server
  nbd: Implement NBD_CMD_WRITE_ZEROES on client

 block/nbd-client.h  |   4 +-
 include/block/nbd.h |  69 ++++++--
 nbd/nbd-internal.h  |  12 +-
 block/nbd-client.c  |  44 ++++-
 block/nbd.c         |   4 +
 nbd/client.c        | 501 +++++++++++++++++++++++++++-------------------------
 nbd/server.c        | 271 +++++++++++++++++++---------
 qemu-nbd.c          |  16 +-
 qemu-nbd.texi       |   5 +-
 9 files changed, 576 insertions(+), 350 deletions(-)

-- 
2.5.5

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

end of thread, other threads:[~2018-04-18 14:41 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19  4:07 [Qemu-devel] [PATCH for-2.7 v5 00/14] nbd: efficient write zeroes Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 01/14] nbd: Fix bad flag detection on server Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 02/14] nbd: Add qemu-nbd -D for human-readable description Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 03/14] nbd: Limit nbdflags to 16 bits Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 04/14] nbd: Treat flags vs. command type as separate fields Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 05/14] nbd: Share common reply-sending code in server Eric Blake
2016-07-19  5:10   ` Fam Zheng
2016-07-19 14:52     ` Eric Blake
2016-07-20  4:39       ` Fam Zheng
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 06/14] nbd: Send message along with server NBD_REP_ERR errors Eric Blake
2016-07-19  5:15   ` Fam Zheng
2016-10-11 15:12     ` Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 07/14] nbd: Share common option-sending code in client Eric Blake
2016-07-19  5:31   ` Fam Zheng
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 08/14] nbd: Let server know when client gives up negotiation Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 09/14] nbd: Let client skip portions of server reply Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 10/14] nbd: Less allocation during NBD_OPT_LIST Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 11/14] nbd: Support shorter handshake Eric Blake
2016-07-19  4:07 ` [Qemu-devel] [PATCH v5 12/14] nbd: Improve server handling of shutdown requests Eric Blake
2016-07-19  4:08 ` [Qemu-devel] [PATCH v5 13/14] nbd: Implement NBD_CMD_WRITE_ZEROES on server Eric Blake
2016-07-19  6:21   ` Fam Zheng
2016-07-19 15:28     ` Eric Blake
2016-07-19 15:45       ` Paolo Bonzini
2016-07-20  3:34         ` Fam Zheng
2016-07-20  3:47           ` Eric Blake
2016-07-20  4:37             ` Fam Zheng
2016-07-20  7:09               ` Paolo Bonzini
2016-07-20  7:38                 ` Fam Zheng
2016-07-20  8:16                   ` Paolo Bonzini
2016-07-20  9:04                     ` Fam Zheng
2016-07-20  9:19                   ` [Qemu-devel] semantics of FIEMAP without FIEMAP_FLAG_SYNC (was Re: [PATCH v5 13/14] nbd: Implement NBD_CMD_WRITE_ZEROES on server) Paolo Bonzini
2016-07-20 12:30                     ` Dave Chinner
2016-07-20 13:35                       ` Niels de Vos
2016-07-21 11:43                         ` Dave Chinner
2016-07-21 12:31                           ` Pádraig Brady
2016-07-21 13:15                             ` Dave Chinner
2016-07-20 13:40                       ` Paolo Bonzini
2016-07-21 12:41                         ` Dave Chinner
2016-07-21 13:01                           ` Pádraig Brady
2016-07-21 14:23                           ` Paolo Bonzini
2016-07-22  8:58                             ` Dave Chinner
2016-07-22 10:41                               ` Paolo Bonzini
2018-02-15 16:40                                 ` Vladimir Sementsov-Ogievskiy
2018-02-15 16:42                                   ` Paolo Bonzini
2018-04-18 14:25                                     ` Vladimir Sementsov-Ogievskiy
2018-04-18 14:41                                       ` [Qemu-devel] semantics of FIEMAP without FIEMAP_FLAG_SYNC Eric Blake
2016-08-18 13:50   ` [Qemu-devel] [PATCH v5 13/14] nbd: Implement NBD_CMD_WRITE_ZEROES on server Vladimir Sementsov-Ogievskiy
2016-08-18 13:52     ` Paolo Bonzini
2016-07-19  4:08 ` [Qemu-devel] [PATCH v5 14/14] nbd: Implement NBD_CMD_WRITE_ZEROES on client Eric Blake
2016-07-19  6:24   ` Fam Zheng
2016-07-19 15:31     ` Eric Blake
2016-07-19  6:33 ` [Qemu-devel] [PATCH for-2.7 v5 00/14] nbd: efficient write zeroes Fam Zheng
2016-07-19  8:53 ` Paolo Bonzini
2016-07-19 15:33   ` Eric Blake
2016-07-19 15:41     ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.