Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
mobject-store
Commits
48a714ab
Commit
48a714ab
authored
Nov 03, 2017
by
Matthieu Dorier
Browse files
put aio directory in client directory
parent
0ffce1c0
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/Makefile.subdir
View file @
48a714ab
noinst_HEADERS
+=
\
src/aio/completion.h
\
src/
client/
aio/completion.h
\
src/client/io-context.h
\
src/client/cluster-handle.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 \
src_client_libmobject_store_la_SOURCES
=
\
src/aio/completion.c
\
src/
client/
aio/completion.c
\
src/client/io-context.c
\
src/client/read-op.c
\
src/client/write-op.c
\
...
...
src/aio/completion.c
→
src/
client/
aio/completion.c
View file @
48a714ab
...
...
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include "mobject-store-config.h"
#include "libmobject-store.h"
#include "src/aio/completion.h"
#include "src/
client/
aio/completion.h"
#include "src/util/log.h"
int
mobject_store_aio_create_completion
(
void
*
cb_arg
,
...
...
src/aio/completion.h
→
src/
client/
aio/completion.h
View file @
48a714ab
File moved
src/client/write-op.c
View file @
48a714ab
...
...
@@ -9,7 +9,7 @@
#include "mobject-store-config.h"
#include "libmobject-store.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/log.h"
...
...
src/io-chain/write-op-impl.c
View file @
48a714ab
...
...
@@ -9,7 +9,6 @@
#include "mobject-store-config.h"
#include "libmobject-store.h"
#include "src/io-chain/write-op-impl.h"
#include "src/aio/completion.h"
#include "src/util/utlist.h"
#include "src/util/log.h"
...
...
tests/mobject-client-test.c
View file @
48a714ab
...
...
@@ -8,13 +8,9 @@ int main(int argc, char** argv)
{
mobject_store_t
cluster
;
mobject_store_create
(
&
cluster
,
"admin"
);
mobject_store_connect
(
cluster
);
mobject_store_ioctx_t
ioctx
;
mobject_store_ioctx_create
(
cluster
,
"my-object-pool"
,
&
ioctx
);
char
buffer
[
256
];
unsigned
i
;
for
(
i
=
0
;
i
<
256
;
i
++
)
buffer
[
i
]
=
'A'
+
(
i
%
26
);
...
...
@@ -46,9 +42,9 @@ int main(int argc, char** argv)
mobject_store_write_op_omap_set
(
write_op
,
keys
,
values
,
val_sizes
,
5
);
// Add a omap_rm_keys" operation
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
);
fprintf
(
stderr
,
"GGG
\n
"
);
mobject_store_release_write_op
(
write_op
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment