hi sage,
I use rados_stat() in fuse module , It's block all all all the time. Thank
you for help me.
#define FUSE_USE_VERSION 26
#include fuse.h
#include stdio.h
#include stdlib.h
#include string.h
#include assert.h
#include errno.h
#include sys/types.h
#include sys/stat.h
#include unistd.h
On 06/06/2014 10:13 AM, Leo Chen wrote:
hi sage,
I use rados_stat() in fuse module , It's block all all all the time.
Is the cluster healthy? Aka HEALTH_OK?
What if you try to stat the object this way:
$ rados -p pool stat obj
Wido
Thank you for help me.
#define FUSE_USE_VERSION 26
Thank you very much for your reply.
$ rados -p metad stat 812d45e9f48f7372d908270616b2b06bfad44958
metad/812d45e9f48f7372d908270616b2b06bfad44958 mtime 1401948103, size 43
use rados command no problem,
in simple code to test rados_stat() also no problem,
just invoke rados_stat() code:
int