Dear all, I found that there is a ./extras/benchmarking/ directory which contains files that help to do the testing. When I try to compile the glfs-bm.c, it shown up some errors: # gcc glfs-bm.c -lglusterfsclient -o glfs-bm glfs-bm.c: In function ???do_mode_libglusterfsclient_iface_fileio_write???: glfs-bm.c:360: warning: assignment makes integer from pointer without a cast glfs-bm.c:366: warning: passing argument 1 of ???glusterfs_write??? makes pointer from integer without a cast glfs-bm.c:369: warning: passing argument 1 of ???glusterfs_close??? makes pointer from integer without a cast glfs-bm.c:372: warning: passing argument 1 of ???glusterfs_close??? makes pointer from integer without a cast glfs-bm.c: In function ???do_mode_libglusterfsclient_iface_fileio_read???: glfs-bm.c:394: warning: assignment makes integer from pointer without a cast glfs-bm.c:400: warning: passing argument 1 of ???glusterfs_read??? makes pointer from integer without a cast glfs-bm.c:403: warning: passing argument 1 of ???glusterfs_close??? makes pointer from integer without a cast glfs-bm.c:406: warning: passing argument 1 of ???glusterfs_close??? makes pointer from integer without a cast glfs-bm.c: In function ???do_mode_libglusterfsclient???: glfs-bm.c:525: error: ???glusterfs_init_ctx_t??? undeclared (first use in this function) glfs-bm.c:525: error: (Each undeclared identifier is reported only once glfs-bm.c:525: error: for each function it appears in.) glfs-bm.c:525: error: expected ???;??? before ???ctx??? glfs-bm.c:532: error: ???ctx??? undeclared (first use in this function) I try to lookup the code in the glusterfs package, but seems nowhere defined glusterfs_init_ctx_t. Another file that use "glusterfs_init_ctx_t" was ./mod_glusterfs/lighttpd/1.5/mod_glusterfs.c. Any idea about it? Thanks in advance. PN -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://zresearch.com/pipermail/gluster-users/attachments/20090508/d1e2da71/attachment.htm>