Commit 48a714ab authored by Matthieu Dorier's avatar Matthieu Dorier

put aio directory in client directory

parent 0ffce1c0
noinst_HEADERS += \ noinst_HEADERS += \
src/aio/completion.h \ src/client/aio/completion.h \
src/client/io-context.h \ src/client/io-context.h \
src/client/cluster-handle.h \ src/client/cluster-handle.h \
src/io-chain/args-read-actions.h \ src/io-chain/args-read-actions.h \
...@@ -46,7 +46,7 @@ src_io_chain_libio_chain_la_SOURCES = src/io-chain/prepare-read-op.c \ ...@@ -46,7 +46,7 @@ src_io_chain_libio_chain_la_SOURCES = src/io-chain/prepare-read-op.c \
src_client_libmobject_store_la_SOURCES = \ src_client_libmobject_store_la_SOURCES = \
src/aio/completion.c \ src/client/aio/completion.c \
src/client/io-context.c \ src/client/io-context.c \
src/client/read-op.c \ src/client/read-op.c \
src/client/write-op.c \ src/client/write-op.c \
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <stdlib.h> #include <stdlib.h>
#include "mobject-store-config.h" #include "mobject-store-config.h"
#include "libmobject-store.h" #include "libmobject-store.h"
#include "src/aio/completion.h" #include "src/client/aio/completion.h"
#include "src/util/log.h" #include "src/util/log.h"
int mobject_store_aio_create_completion(void *cb_arg, int mobject_store_aio_create_completion(void *cb_arg,
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "mobject-store-config.h" #include "mobject-store-config.h"
#include "libmobject-store.h" #include "libmobject-store.h"
#include "src/io-chain/write-op-impl.h" #include "src/io-chain/write-op-impl.h"
#include "src/aio/completion.h" #include "src/client/aio/completion.h"
#include "src/util/utlist.h" #include "src/util/utlist.h"
#include "src/util/log.h" #include "src/util/log.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "mobject-store-config.h" #include "mobject-store-config.h"
#include "libmobject-store.h" #include "libmobject-store.h"
#include "src/io-chain/write-op-impl.h" #include "src/io-chain/write-op-impl.h"
#include "src/aio/completion.h"
#include "src/util/utlist.h" #include "src/util/utlist.h"
#include "src/util/log.h" #include "src/util/log.h"
......
...@@ -8,13 +8,9 @@ int main(int argc, char** argv) ...@@ -8,13 +8,9 @@ int main(int argc, char** argv)
{ {
mobject_store_t cluster; mobject_store_t cluster;
mobject_store_create(&cluster, "admin"); mobject_store_create(&cluster, "admin");
mobject_store_connect(cluster); mobject_store_connect(cluster);
mobject_store_ioctx_t ioctx; mobject_store_ioctx_t ioctx;
mobject_store_ioctx_create(cluster, "my-object-pool", &ioctx); mobject_store_ioctx_create(cluster, "my-object-pool", &ioctx);
char buffer[256]; char buffer[256];
unsigned i; unsigned i;
for(i=0; i<256; i++) buffer[i] = 'A'+(i % 26); for(i=0; i<256; i++) buffer[i] = 'A'+(i % 26);
...@@ -46,9 +42,9 @@ int main(int argc, char** argv) ...@@ -46,9 +42,9 @@ int main(int argc, char** argv)
mobject_store_write_op_omap_set(write_op, keys, values, val_sizes, 5); mobject_store_write_op_omap_set(write_op, keys, values, val_sizes, 5);
// Add a omap_rm_keys" operation // Add a omap_rm_keys" operation
mobject_store_write_op_omap_rm_keys(write_op, keys, 5); mobject_store_write_op_omap_rm_keys(write_op, keys, 5);
fprintf(stderr,"FFF\n");
mobject_store_write_op_operate(write_op, ioctx, "test-object", NULL, LIBMOBJECT_OPERATION_NOFLAG); mobject_store_write_op_operate(write_op, ioctx, "test-object", NULL, LIBMOBJECT_OPERATION_NOFLAG);
fprintf(stderr,"GGG\n");
mobject_store_release_write_op(write_op); mobject_store_release_write_op(write_op);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment