[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.7 0/4] NBD and block alignment fixes
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PATCH for-2.7 0/4] NBD and block alignment fixes |
Date: |
Thu, 21 Jul 2016 13:34:44 -0600 |
This series extracts a couple of bug fixes that should be included
in 2.7, out of my earlier v5 NBD series [1] that was deemed too
large and too late. Then it tackles the promised regression fix
reported by Peter for Dell Equallogic iSCSI SANs with their unusual
non-power-of-2 unmap granularity.
[1] https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg04053.html
The earlier series had a couple other patches that are
borderline bug fixes, but I think they can wait for 2.8,
as follows:
https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg04054.html
8/14 nbd: Let server know when client gives up
Servers already have to deal with clients like qemu 2.6 that
don't give this notification, so it doesn't hurt to keep 2.7
in that same situation.
https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg04064.html
12/14 nbd: Improve server handling of shutdown requests
Clients already have to deal with servers like qemu 2.6 that
don't reply to NBD_OPT_ABORT, so it doesn't hurt to keep 2.7
in that same situation.
Also available as a tag at:
git fetch git://repo.or.cz/qemu/ericb.git nbd-fixes-v1
Eric Blake (4):
nbd: Fix bad flag detection on server
nbd: Limit nbdflags to 16 bits
osdep: Document differences in rounding macros
block: Cater to iscsi with non-power-of-2 discard
block/nbd-client.h | 2 +-
include/block/block_int.h | 37 ++++++++++++++++++++-----------------
include/block/nbd.h | 6 +++---
include/qemu/osdep.h | 6 +++++-
block/io.c | 15 +++++++++------
nbd/client.c | 28 +++++++++++++++-------------
nbd/server.c | 13 ++++++-------
qemu-nbd.c | 4 ++--
8 files changed, 61 insertions(+), 50 deletions(-)
--
2.5.5
- [Qemu-devel] [PATCH for-2.7 0/4] NBD and block alignment fixes,
Eric Blake <=
- [Qemu-devel] [PATCH 3/4] osdep: Document differences in rounding macros, Eric Blake, 2016/07/21
- [Qemu-devel] [PATCH 1/4] nbd: Fix bad flag detection on server, Eric Blake, 2016/07/21
- [Qemu-devel] [PATCH 2/4] nbd: Limit nbdflags to 16 bits, Eric Blake, 2016/07/21
- [Qemu-devel] [PATCH 4/4] block: Cater to iscsi with non-power-of-2 discard, Eric Blake, 2016/07/21
- Re: [Qemu-devel] [PATCH for-2.7 0/4] NBD and block alignment fixes, Fam Zheng, 2016/07/27