[sheepdog] [PATCH v2 0/3] sheepkeeper: a new cluster manager specialized for sheepdog

Liu Yuan namei.unix at gmail.com
Mon Nov 12 10:42:14 CET 2012


On 11/12/2012 04:58 PM, Hitoshi Mitake wrote:
> This patchset adds sheepkeeper: a new cluster manager specialized for sheepdog.
> The 3rd patch actually adds sheepkeeper, 1st and 2nd do preparation for it.
> 

get GCC warning:
...
sheepkeeper.c: In function ‘main’:
sheepkeeper.c:444:9: warning: ignoring return value of ‘daemon’,
declared with attribute warn_unused_result [-Wunused-result]
sheepkeeper.c:480:9: warning: ignoring return value of ‘daemon’,
declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/string.h:642:0,
                 from sheepkeeper.c:14:
In function ‘memcpy’,
    inlined from ‘main’ at sheepkeeper.c:462:8:
/usr/include/x86_64-linux-gnu/bits/string3.h:52:3: warning: call to
__builtin___memcpy_chk will always overflow destination buffer [enabled
by default]
...


> Hitoshi Mitake (3):
>   move node_to_str() and str_to_node() from sheep/cluster.h to
>     include/internal_proto.h
>   logger: use syslog() when outfile == NULL

Why sheepkeeper need syslog() instead of a plain file?

Thanks,
Yuan




More information about the sheepdog mailing list