On 16/05/2017 11:45, Vladimir Sementsov-Ogievskiy wrote: > Hi all. There are several patches, as preparation for v2 of my > NBD BLOCK_STATUS series. > > patch 0001 was sent earlier and unchanged here.
Thanks, applied. I suppose that if we can remove nbd_negotiate_read/write/drop it's also easy to change from LOG to error_report_err in nbd/server.c. Paolo > 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(-) >