Skip to content

nbd: error path refactoring

Vladimir Sementsov-Ogievskiy qemu-devel 1 version Applied

Status from this message: Thanks, applied. I suppose that if we can remove

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5nbd: strict nbd_wr_syncvnbd/common.c+6 -50 replies
2/5nbd: read_sync and friends: return 0 on successnbd/client.c nbd/nbd-internal.h nbd/server.c+88 -930 replies
3/5nbd: add errp parameter to nbd_wr_syncv()block/nbd-client.c include/block/nbd.h nbd/common.c +1 more+11 -120 replies
4/5nbd: add errp to read_sync, write_sync and drop_syncnbd/client.c nbd/nbd-internal.h nbd/server.c+54 -500 replies
5/5nbd/client.c: use errp instead of LOGblock/nbd-client.c include/block/nbd.h nbd/client.c +1 more+25 -161 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] nbd: error path refactoring

Hi all. There are several patches, as preparation for v2 of my NBD BLOCK_STATUS series.

patch 0001 was sent earlier and unchanged here.

Vladimir Sementsov-Ogievskiy (5):
nbd: strict nbd_wr_syncv
nbd: read_sync and friends: return 0 on success
nbd: add errp parameter to nbd_wr_syncv()
nbd: add errp to read_sync, write_sync and drop_sync nbd/client.c: use errp instead of LOG

 block/nbd-client.c  |  11 +++--
 include/block/nbd.h |   8 ++--
 nbd/client.c        | 121 ++++++++++++++++++++++++----------------------------
 nbd/common.c        |  23 +++++-----
 nbd/nbd-internal.h  |  40 ++++++++++++++---
 nbd/server.c        |  92 ++++++++++++++++-----------------------
 qemu-nbd.c          |   3 +-
 7 files changed, 153 insertions(+), 145 deletions(-)
Signature · 1 line
2.11.1