[Sheepdog] [PATCH] collie: set SD_FLAG_CMD_DIRECT flag to show object information
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Fri Sep 3 10:01:33 CEST 2010
This patch fixes the problem that 'collie vdi object' shows wrong
information.
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
collie/collie.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/collie/collie.c b/collie/collie.c
index f493d05..ac7df87 100644
--- a/collie/collie.c
+++ b/collie/collie.c
@@ -559,7 +559,7 @@ static void parse_objs(uint64_t oid, obj_parser_func_t func, void *data)
hdr.opcode = SD_OP_READ_OBJ;
hdr.data_length = rlen;
- hdr.flags = 0;
+ hdr.flags = SD_FLAG_CMD_DIRECT;
hdr.oid = oid;
hdr.epoch = node_list_version;
--
1.5.6.5
More information about the sheepdog
mailing list