[stgt] [PATCH] sheepdog: protocol update for revivng backward compatibility
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Mon Aug 11 07:48:39 CEST 2014
This update is just for updating protocol of sheepdog. Recent
discussion in the sheepdog community requires it.
Singed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
usr/bs_sheepdog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/bs_sheepdog.c b/usr/bs_sheepdog.c
index ffc2519..bbbd392 100644
--- a/usr/bs_sheepdog.c
+++ b/usr/bs_sheepdog.c
@@ -171,8 +171,8 @@ struct sheepdog_obj_rsp {
uint32_t pad[6];
};
-#define LOCK_TYPE_NORMAL 1
-#define LOCK_TYPE_SHARED 2 /* for iSCSI multipath */
+#define LOCK_TYPE_NORMAL 0
+#define LOCK_TYPE_SHARED 1 /* for iSCSI multipath */
struct sheepdog_vdi_req {
uint8_t proto_ver;
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list