Signed-off-by: Christoph Hellwig <[email protected]>
---
collie/common.c | 1 -
include/internal_proto.h | 6 ------
2 files changed, 7 deletions(-)
Index: sheepdog/collie/common.c
===================================================================
--- sheepdog.orig/collie/common.c 2012-07-06 13:37:11.679902095 +0200
+++ sheepdog/collie/common.c 2012-07-06 13:38:25.213234989 +0200
@@ -59,7 +59,6 @@ int sd_read_object(uint64_t oid, void *d
memset(&hdr, 0, sizeof(hdr));
hdr.epoch = sd_epoch;
hdr.opcode = SD_OP_READ_OBJ;
- hdr.flags = SD_FLAG_CMD_WEAK_CONSISTENCY;
hdr.data_length = rlen;
hdr.obj.oid = oid;
Index: sheepdog/include/internal_proto.h
===================================================================
--- sheepdog.orig/include/internal_proto.h 2012-07-06 13:37:59.956568470
+0200
+++ sheepdog/include/internal_proto.h 2012-07-06 13:38:25.213234989 +0200
@@ -61,12 +61,6 @@
/* 0x0010 was SD_FLAG_CMD_IO_LOCAL */
#define SD_FLAG_CMD_RECOVERY 0x0020
-/* set this flag when you want to read a VDI which is opened by
- another client. Note that the obtained data may not be the latest
- one because Sheepdog cannot ensure strong consistency against
- concurrent accesses to non-snapshot VDIs. */
-#define SD_FLAG_CMD_WEAK_CONSISTENCY 0x0040
-
/* flags for VDI attribute operations */
#define SD_FLAG_CMD_CREAT 0x0100
#define SD_FLAG_CMD_EXCL 0x0200
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog