rename files from ceph-test package
cover rename files from ceph-test package
The ceph-test package contains files which are installed to /usr/bin, but these files have names which don't give any hint that they are part of ceph.
Rename the files of the ceph-test package to indicate they belong to ceph. Prefix them with "ceph_". Update packaging files like RPM spec and debian files. Add some files which are present in ceph-test of the RPM spec file but not in ceph-test.install.
I hope I didn't oversee any reference/call of the changed files. If the change gets accepted maybe some other tools outside this git tree needs to be updated. Let me know which projects I need to update.
Update and cleanup .gitignore files.
Danny Al-Gaaf (3):
ceph-test: give binaries from ceph-test package useful names .gitignore: cleanup and sort entries ceph-test.install: updated filelist
.gitignore | 77 ++-- ceph.spec.in | 122 +++---- debian/ceph-test.install | 120 +++---- doc/.gitignore | 3 +- qa/workunits/cls/test_cls_lock.sh | 2 +- qa/workunits/cls/test_cls_rbd.sh | 2 +- qa/workunits/cls/test_cls_refcount.sh | 2 +- qa/workunits/cls/test_cls_rgw.sh | 2 +- qa/workunits/libcephfs/test.sh | 2 +- qa/workunits/mon/workloadgen.sh | 4 +- qa/workunits/osdc/stress_objectcacher.sh | 2 +- qa/workunits/rados/stress_watch.sh | 2 +- qa/workunits/rados/test.sh | 24 +- qa/workunits/rbd/smalliobench.sh | 2 +- qa/workunits/rbd/test_librbd.sh | 2 +- src/.gitignore | 173 +++------ src/.gitignore.orig | 142 ++++++++ src/Makefile.am | 586 +++++++++++++++---------------- src/client/test_ioctls.c | 2 +- src/dupstore.cc | 2 +- src/gtest/.gitignore | 2 + src/psim.cc | 2 +- src/test/filestore/TestFileStoreState.cc | 2 +- src/test/filestore/run_seed_to.sh | 10 +- src/test/run-rbd-tests | 8 +- src/test/test_filejournal.cc | 2 +- src/test/test_mutate.cc | 2 +- 27 files changed, 685 insertions(+), 616 deletions(-) create mode 100644 src/.gitignore.orig create mode 100644 src/gtest/.gitignore
Signature · 1 line
1.8.1.2
PATCH 1/3 ceph-test: give binaries from ceph-test package useful names
The files from the ceph-test subpackage are installed to /usr/bin, give them more useful names to make sure that the user know they belong to ceph. add a 'ceph_' prefix and change some test* binaries to ceph_test_*.
--- .gitignore | 5 +- ceph.spec.in | 122 +++---- debian/ceph-test.install | 118 +++---- qa/workunits/cls/test_cls_lock.sh | 2 +- qa/workunits/cls/test_cls_rbd.sh | 2 +- qa/workunits/cls/test_cls_refcount.sh | 2 +- qa/workunits/cls/test_cls_rgw.sh | 2 +- qa/workunits/libcephfs/test.sh | 2 +- qa/workunits/mon/workloadgen.sh | 4 +- qa/workunits/osdc/stress_objectcacher.sh | 2 +- qa/workunits/rados/stress_watch.sh | 2 +- qa/workunits/rados/test.sh | 24 +- qa/workunits/rbd/smalliobench.sh | 2 +- qa/workunits/rbd/test_librbd.sh | 2 +- src/.gitignore | 98 ++++-- src/Makefile.am | 586 +++++++++++++++---------------- src/client/test_ioctls.c | 2 +- src/dupstore.cc | 2 +- src/psim.cc | 2 +- src/test/filestore/TestFileStoreState.cc | 2 +- src/test/filestore/run_seed_to.sh | 10 +- src/test/run-rbd-tests | 8 +- src/test/test_filejournal.cc | 2 +- src/test/test_mutate.cc | 2 +- 24 files changed, 514 insertions(+), 491 deletions(-)
.gitignore +3 -2
@@ -59,9 +59,10 @@ core *.generated.dot src/ocf/ceph src/ocf/rbd -src/omapbench -src/kvstorebench +src/ceph_omapbench +src/ceph_kvstorebench ar-lib +.dirstamp # temporary directory used by e.g. "make distcheck", e.g. ceph-0.42 /ceph-[0-9]*/
ceph.spec.in +61 -61
129 lines not on this page · raw message
debian/ceph-test.install +59 -59
118 lines not on this page · raw message
qa/workunits/cls/test_cls_lock.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_lock +ceph_test_cls_lock exit 0
qa/workunits/cls/test_cls_rbd.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_rbd +ceph_test_cls_rbd exit 0
qa/workunits/cls/test_cls_refcount.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_refcount +ceph_test_cls_refcount exit 0
qa/workunits/cls/test_cls_rgw.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_rgw +ceph_test_cls_rgw exit 0
qa/workunits/libcephfs/test.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_libcephfs +ceph_test_libcephfs exit 0
qa/workunits/mon/workloadgen.sh +2 -2
@@ -9,7 +9,7 @@ d() { d "check for required binaries" -required_bins="ceph crushtool test_mon_workloadgen" +required_bins="ceph crushtool ceph_test_mon_workloadgen" for b in $required_bins; do which $b >& /dev/null if [[ $? -ne 0 ]]; then
@@ -28,7 +28,7 @@ do_run=0 num_osds=0 # Assume the test is in PATH -bin_test=test_mon_workloadgen +bin_test=ceph_test_mon_workloadgen num_osds=10 if [[ "$LOADGEN_NUM_OSDS" != "" ]]; then
qa/workunits/osdc/stress_objectcacher.sh +1 -1
@@ -14,7 +14,7 @@ do do for MAX_DIRTY in 0 25165824 do - test_objectcacher_stress --ops $OPS --percent-read $READS --delay-ns $DELAY --objects $OBJECTS --max-op-size $OP_SIZE --client-oc-max-dirty $MAX_DIRTY > /dev/null 2>&1 + ceph_test_objectcacher_stress --ops $OPS --percent-read $READS --delay-ns $DELAY --objects $OBJECTS --max-op-size $OP_SIZE --client-oc-max-dirty $MAX_DIRTY > /dev/null 2>&1 done done done
qa/workunits/rados/stress_watch.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_stress_watch +ceph_test_stress_watch exit 0
qa/workunits/rados/test.sh +12 -12
@@ -1,17 +1,17 @@ #!/bin/sh -e -test_rados_api_aio -test_rados_api_io -test_rados_api_list -test_rados_api_misc -test_rados_api_pool -test_rados_api_snapshots -test_rados_api_stat -test_rados_api_watch_notify +ceph_test_rados_api_aio +ceph_test_rados_api_io +ceph_test_rados_api_list +ceph_test_rados_api_misc +ceph_test_rados_api_pool +ceph_test_rados_api_snapshots +ceph_test_rados_api_stat +ceph_test_rados_api_watch_notify -testrados_list_parallel -testrados_open_pools_parallel -testrados_delete_pools_parallel -testrados_watch_notify +ceph_test_rados_list_parallel +ceph_test_rados_open_pools_parallel +ceph_test_rados_delete_pools_parallel +ceph_test_rados_watch_notify exit 0
qa/workunits/rbd/smalliobench.sh +1 -1
@@ -10,7 +10,7 @@ DUR="$3" for n in `seq 1 $NUM`; do echo "Starting $n of $NUM ..." - smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 & + ceph_smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 & sleep $GAP done echo "Waiting..."
qa/workunits/rbd/test_librbd.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -e -test_librbd +ceph_test_librbd exit 0
src/.gitignore +60 -38
129 lines not on this page · raw message
src/Makefile.am +293 -293
701 lines not on this page · raw message
src/client/test_ioctls.c +1 -1
@@ -24,7 +24,7 @@ int main(int argc, char **argv)struct ceph_ioctl_dataloc dl;if (argc <3 ) { -printf ("usage: test_ioctls <filename> <offset>\n" ); +printf ("usage: ceph_test_ioctls <filename> <offset>\n" );return 1 ; } fn = argv[1 ];
src/dupstore.cc +1 -1
@@ -77,7 +77,7 @@ int dupstore(ObjectStore* src, ObjectStore* dst) void usage() { - cerr << "usage: dupstore filestore SRC filestore DST" << std::endl; + cerr << "usage: ceph_dupstore filestore SRC filestore DST" << std::endl; exit(0); }
src/psim.cc +1 -1
@@ -52,7 +52,7 @@ int main(int argc, char **argv) int x = H(oid); x = ceph_stable_mod(x, 1023, 1023); int s = crush_hash32(x) % 15; - //cout << "psim: x = " << x << " s = " << s << std::endl; + //cout << "ceph_psim: x = " << x << " s = " << s << std::endl; //osds[0] = s; } #endif
src/test/filestore/TestFileStoreState.cc +1 -1
@@ -27,7 +27,7 @@ #define dout_subsys ceph_subsys_filestore #undef dout_prefix -#define dout_prefix *_dout << "test_filestore_state " +#define dout_prefix *_dout << "ceph_test_filestore_state " const coll_t TestFileStoreState::META_COLL("meta"); const coll_t TestFileStoreState::TEMP_COLL("temp");
src/test/filestore/run_seed_to.sh +5 -5
@@ -1,7 +1,7 @@ #!/bin/bash # vim: ts=8 sw=2 smarttab # -# run_seed_to.sh - Run test_filestore_idempotent_sequence up until an +# run_seed_to.sh - Run ceph_test_filestore_idempotent_sequence up until an # injection point, generating a sequence of operations based on a # provided seed. #
@@ -244,13 +244,13 @@ do fi do_rm $tmp_name_a $tmp_name_a.fail $tmp_name_a.recover - $v test_filestore_idempotent_sequence run-sequence-to $to \ + $v ceph_test_filestore_idempotent_sequence run-sequence-to $to \ $tmp_name_a $tmp_name_a/journal \ --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \ --filestore-kill-at $killat $tmp_opts_a \ --log-file $tmp_name_a.fail --debug-filestore 20 || true - stop_at=`test_filestore_idempotent_sequence get-last-op \ + stop_at=`ceph_test_filestore_idempotent_sequence get-last-op \ $tmp_name_a $tmp_name_a/journal \ --filestore-xattr-use-omap --log-file $tmp_name_a.recover \ --debug-filestore 20 --debug-journal 20`
@@ -263,12 +263,12 @@ do echo stopped at $stop_at do_rm $tmp_name_b $tmp_name_b.clean - $v test_filestore_idempotent_sequence run-sequence-to \ + $v ceph_test_filestore_idempotent_sequence run-sequence-to \ $stop_at $tmp_name_b $tmp_name_b/journal \ --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \ --log-file $tmp_name_b.clean --debug-filestore 20 $tmp_opts_b - if $v test_filestore_idempotent_sequence diff \ + if $v ceph_test_filestore_idempotent_sequence diff \ $tmp_name_a $tmp_name_a/journal $tmp_name_b $tmp_name_b/journal \ --filestore-xattr-use-omap; then echo OK
src/test/run-rbd-tests +4 -4
@@ -25,12 +25,12 @@ run_api_tests() { recreate_pool rbd # skip many_snaps since it takes several minutes # skip remove_with_watcher until #2533 is fixed - nosetests -v test_rbd -e '.*many_snaps' -e '.*remove_with_watcher' - # test_librbd creates its own pools - test_librbd + nosetests -v ceph_test_rbd -e '.*many_snaps' -e '.*remove_with_watcher' + # ceph_test_librbd creates its own pools + ceph_test_librbd } -test_cls_rbd +ceph_test_cls_rbd run_api_tests run_cli_tests
src/test/test_filejournal.cc +1 -1
@@ -74,7 +74,7 @@ int main(int argc, char **argv) { strcpy(path, args[0]); } else { srand(getpid()+time(0)); - snprintf(path, sizeof(path), "/tmp/test_filejournal.tmp.%d", rand()); + snprintf(path, sizeof(path), "/tmp/ceph_test_filejournal.tmp.%d", rand()); } cout << "path " << path << std::endl;
src/test/test_mutate.cc +1 -1
@@ -48,7 +48,7 @@ int main(int argc, const char **argv) common_init_finish(g_ceph_context); string val; - string oid("test_object"); + string oid("ceph_test_object"); string pool_name("test_pool"); for (std::vector<const char*>::iterator i = args.begin(); i != args.end(); ) { if (ceph_argparse_double_dash(args, i)) {
Signature · 1 line
1.8.1.2
Re: [PATCH 1/3] ceph-test: give binaries from ceph-test package useful names
Quoted 189 lines · Danny Al-Gaaf
The files from the ceph-test subpackage are installed to
/usr/bin, give them more useful names to make sure that the user know they belong to ceph. add a 'ceph_' prefix and change some test* binaries to ceph_test_*.Signed-off-by Danny Al-Gaaf <[email protected]>--- .gitignore | 5 +- ceph.spec.in | 122 +++---- debian/ceph-test.install | 118 +++---- qa/workunits/cls/test_cls_lock.sh | 2 +- qa/workunits/cls/test_cls_rbd.sh | 2 +- qa/workunits/cls/test_cls_refcount.sh | 2 +- qa/workunits/cls/test_cls_rgw.sh | 2 +- qa/workunits/libcephfs/test.sh | 2 +- qa/workunits/mon/workloadgen.sh | 4 +- qa/workunits/osdc/stress_objectcacher.sh | 2 +- qa/workunits/rados/stress_watch.sh | 2 +- qa/workunits/rados/test.sh | 24 +- qa/workunits/rbd/smalliobench.sh | 2 +- qa/workunits/rbd/test_librbd.sh | 2 +- src/.gitignore | 98 ++++-- src/Makefile.am | 586 +++++++++++++++---------------- src/client/test_ioctls.c | 2 +- src/dupstore.cc | 2 +- src/psim.cc | 2 +- src/test/filestore/TestFileStoreState.cc | 2 +- src/test/filestore/run_seed_to.sh | 10 +- src/test/run-rbd-tests | 8 +- src/test/test_filejournal.cc | 2 +- src/test/test_mutate.cc | 2 +- 24 files changed, 514 insertions(+), 491 deletions(-).gitignore +3
-2@@ -59,9 +59,10 @@ core *.generated.dot src/ocf/ceph src/ocf/rbd -src/omapbench -src/kvstorebench +src/ceph_omapbench +src/ceph_kvstorebench ar-lib +.dirstamp # temporary directory used by e.g. "make distcheck", e.g. ceph-0.42 /ceph-[0-9]*/ceph.spec.in +61
-61@@ -516,68 +516,68 @@ fi ################################################################################# %files -n ceph-test %defattr(-,root,root,-) -%{_bindir}/bench_log -%{_bindir}/dupstore -%{_bindir}/kvstorebench -%{_bindir}/multi_stress_watch -%{_bindir}/omapbench -%{_bindir}/psim -%{_bindir}/radosacl %{_bindir}/rest-bench -%{_bindir}/rgw_jsonparser -%{_bindir}/rgw_multiparser -%{_bindir}/scratchtool -%{_bindir}/scratchtoolpp -%{_bindir}/smalliobench -%{_bindir}/smalliobenchdumb -%{_bindir}/smalliobenchfs -%{_bindir}/smalliobenchrbd -%{_bindir}/ceph-filestore-dump -%{_bindir}/streamtest -%{_bindir}/test_cfuse_cache_invalidate -%{_bindir}/test_cls_lock -%{_bindir}/test_cls_rbd -%{_bindir}/test_cls_refcount -%{_bindir}/test_cls_rgw -%{_bindir}/test_filejournal -%{_bindir}/test_filestore -%{_bindir}/test_filestore_idempotent -%{_bindir}/test_filestore_idempotent_sequence -%{_bindir}/test_filestore_workloadgen -%{_bindir}/test_ioctls -%{_bindir}/test_keyvaluedb_atomicity -%{_bindir}/test_keyvaluedb_iterators -%{_bindir}/test_libcephfs -%{_bindir}/test_librbd -%{_bindir}/test_librbd_fsx -%{_bindir}/test_mon_workloadgen -%{_bindir}/test_mutate -%{_bindir}/test_object_map -%{_bindir}/test_objectcacher_stress -%{_bindir}/test_rados_api_aio -%{_bindir}/test_rados_api_cls -%{_bindir}/test_rados_api_io -%{_bindir}/test_rados_api_list -%{_bindir}/test_rados_api_misc -%{_bindir}/test_rados_api_pool -%{_bindir}/test_rados_api_snapshots -%{_bindir}/test_rados_api_stat -%{_bindir}/test_rados_api_watch_notify -%{_bindir}/test_rewrite_latency -%{_bindir}/test_stress_watch -%{_bindir}/test_trans -%{_bindir}/testcrypto -%{_bindir}/testkeys -%{_bindir}/testmsgr -%{_bindir}/testrados -%{_bindir}/testrados_delete_pools_parallel -%{_bindir}/testrados_list_parallel -%{_bindir}/testrados_open_pools_parallel -%{_bindir}/testrados_watch_notify -%{_bindir}/testsignal_handlers -%{_bindir}/testtimers -%{_bindir}/tpbench -%{_bindir}/xattr_bench +%{_bindir}/ceph_bench_log +%{_bindir}/ceph_dupstore +%{_bindir}/ceph_kvstorebench +%{_bindir}/ceph_multi_stress_watch +%{_bindir}/ceph_omapbench +%{_bindir}/ceph_psim +%{_bindir}/ceph_radosacl +%{_bindir}/ceph_rgw_jsonparser +%{_bindir}/ceph_rgw_multiparser +%{_bindir}/ceph_scratchtool +%{_bindir}/ceph_scratchtoolpp +%{_bindir}/ceph_smalliobench +%{_bindir}/ceph_smalliobenchdumb +%{_bindir}/ceph_smalliobenchfs +%{_bindir}/ceph_smalliobenchrbd +%{_bindir}/ceph_filestore_dump +%{_bindir}/ceph_streamtest +%{_bindir}/ceph_test_cfuse_cache_invalidate +%{_bindir}/ceph_test_cls_lock +%{_bindir}/ceph_test_cls_rbd +%{_bindir}/ceph_test_cls_refcount +%{_bindir}/ceph_test_cls_rgw +%{_bindir}/ceph_test_filejournal +%{_bindir}/ceph_test_filestore +%{_bindir}/ceph_test_filestore_idempotent +%{_bindir}/ceph_test_filestore_idempotent_sequence +%{_bindir}/ceph_test_filestore_workloadgen +%{_bindir}/ceph_test_ioctls +%{_bindir}/ceph_test_keyvaluedb_atomicity +%{_bindir}/ceph_test_keyvaluedb_iterators +%{_bindir}/ceph_test_libcephfs +%{_bindir}/ceph_test_librbd +%{_bindir}/ceph_test_librbd_fsx +%{_bindir}/ceph_test_mon_workloadgen +%{_bindir}/ceph_test_mutate +%{_bindir}/ceph_test_object_map +%{_bindir}/ceph_test_objectcacher_stress +%{_bindir}/ceph_test_rados_api_aio +%{_bindir}/ceph_test_rados_api_cls +%{_bindir}/ceph_test_rados_api_io +%{_bindir}/ceph_test_rados_api_list +%{_bindir}/ceph_test_rados_api_misc +%{_bindir}/ceph_test_rados_api_pool +%{_bindir}/ceph_test_rados_api_snapshots +%{_bindir}/ceph_test_rados_api_stat +%{_bindir}/ceph_test_rados_api_watch_notify +%{_bindir}/ceph_test_rewrite_latency +%{_bindir}/ceph_test_stress_watch +%{_bindir}/ceph_test_trans +%{_bindir}/ceph_test_crypto +%{_bindir}/ceph_test_keys +%{_bindir}/ceph_test_msgr +%{_bindir}/ceph_test_rados +%{_bindir}/ceph_test_rados_delete_pools_parallel +%{_bindir}/ceph_test_rados_list_parallel +%{_bindir}/ceph_test_rados_open_pools_parallel +%{_bindir}/ceph_test_rados_watch_notify +%{_bindir}/ceph_test_signal_handlers +%{_bindir}/ceph_test_timers +%{_bindir}/ceph_tpbench +%{_bindir}/ceph_xattr_bench %files -n libcephfs_jni1 %defattr(-,root,root,-)debian/ceph-test.install +0
-0
debian/ceph-test.install line 8
Quoted 8 lines
debian/ceph-test.install +0
-8@@ -1,59 +1,59 @@ -usr/bin/bench_log -usr/bin/dupstore -usr/bin/kvstorebench -usr/bin/multi_stress_watch -usr/bin/omapbench -usr/bin/psim -usr/bin/radosacl -usr/bin/rest-bench
rest-bench wasn't renamed (now I see this is handled in patch 3)
Quoted 1,221 lines
debian/ceph-test.install +59
-51-usr/bin/rgw_multiparser -usr/bin/scratchtool -usr/bin/scratchtoolpp -usr/bin/smalliobench -usr/bin/smalliobenchdumb -usr/bin/smalliobenchfs -usr/bin/smalliobenchrbd -usr/bin/ceph-filestore-dump -usr/bin/streamtest -usr/bin/test_cfuse_cache_invalidate -usr/bin/test_cls_lock -usr/bin/test_cls_rbd -usr/bin/test_cls_refcount -usr/bin/test_cls_rgw -usr/bin/test_filejournal -usr/bin/test_filestore -usr/bin/test_filestore_idempotent -usr/bin/test_filestore_idempotent_sequence -usr/bin/test_filestore_workloadgen -usr/bin/test_ioctls -usr/bin/test_keyvaluedb_atomicity -usr/bin/test_keyvaluedb_iterators -usr/bin/test_libcephfs -usr/bin/test_librbd -usr/bin/test_librbd_fsx -usr/bin/test_mutate -usr/bin/test_object_map -usr/bin/test_rados_api_aio -usr/bin/test_rados_api_cls -usr/bin/test_rados_api_io -usr/bin/test_rados_api_list -usr/bin/test_rados_api_misc -usr/bin/test_rados_api_pool -usr/bin/test_rados_api_snapshots -usr/bin/test_rados_api_stat -usr/bin/test_rados_api_watch_notify -usr/bin/test_rewrite_latency -usr/bin/test_stress_watch -usr/bin/test_trans -usr/bin/testcrypto -usr/bin/testkeys -usr/bin/testmsgr -usr/bin/testrados -usr/bin/testrados_delete_pools_parallel -usr/bin/testrados_list_parallel -usr/bin/testrados_open_pools_parallel -usr/bin/testrados_watch_notify -usr/bin/testsignal_handlers -usr/bin/testtimers -usr/bin/tpbench -usr/bin/xattr_bench +usr/bin/ceph_bench_log +usr/bin/ceph_dupstore +usr/bin/ceph_kvstorebench +usr/bin/ceph_multi_stress_watch +usr/bin/ceph_omapbench +usr/bin/ceph_psim +usr/bin/ceph_radosacl +usr/bin/ceph_rest-bench +usr/bin/ceph_rgw_multiparser +usr/bin/ceph_scratchtool +usr/bin/ceph_scratchtoolpp +usr/bin/ceph_smalliobench +usr/bin/ceph_smalliobenchdumb +usr/bin/ceph_smalliobenchfs +usr/bin/ceph_smalliobenchrbd +usr/bin/ceph_filestore_dump +usr/bin/ceph_streamtest +usr/bin/ceph_test_cfuse_cache_invalidate +usr/bin/ceph_test_cls_lock +usr/bin/ceph_test_cls_rbd +usr/bin/ceph_test_cls_refcount +usr/bin/ceph_test_cls_rgw +usr/bin/ceph_test_filejournal +usr/bin/ceph_test_filestore +usr/bin/ceph_test_filestore_idempotent +usr/bin/ceph_test_filestore_idempotent_sequence +usr/bin/ceph_test_filestore_workloadgen +usr/bin/ceph_test_ioctls +usr/bin/ceph_test_keyvaluedb_atomicity +usr/bin/ceph_test_keyvaluedb_iterators +usr/bin/ceph_test_libcephfs +usr/bin/ceph_test_librbd +usr/bin/ceph_test_librbd_fsx +usr/bin/ceph_test_mutate +usr/bin/ceph_test_object_map +usr/bin/ceph_test_rados_api_aio +usr/bin/ceph_test_rados_api_cls +usr/bin/ceph_test_rados_api_io +usr/bin/ceph_test_rados_api_list +usr/bin/ceph_test_rados_api_misc +usr/bin/ceph_test_rados_api_pool +usr/bin/ceph_test_rados_api_snapshots +usr/bin/ceph_test_rados_api_stat +usr/bin/ceph_test_rados_api_watch_notify +usr/bin/ceph_test_rewrite_latency +usr/bin/ceph_test_stress_watch +usr/bin/ceph_test_trans +usr/bin/ceph_test_crypto +usr/bin/ceph_test_keys +usr/bin/ceph_test_msgr +usr/bin/ceph_test_rados +usr/bin/ceph_test_rados_delete_pools_parallel +usr/bin/ceph_test_rados_list_parallel +usr/bin/ceph_test_rados_open_pools_parallel +usr/bin/ceph_test_rados_watch_notify +usr/bin/ceph_test_signal_handlers +usr/bin/ceph_test_timers +usr/bin/ceph_tpbench +usr/bin/ceph_xattr_benchqa/workunits/cls/test_cls_lock.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_lock +ceph_test_cls_lock exit 0qa/workunits/cls/test_cls_rbd.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_rbd +ceph_test_cls_rbd exit 0qa/workunits/cls/test_cls_refcount.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_refcount +ceph_test_cls_refcount exit 0qa/workunits/cls/test_cls_rgw.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_cls_rgw +ceph_test_cls_rgw exit 0qa/workunits/libcephfs/test.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_libcephfs +ceph_test_libcephfs exit 0qa/workunits/mon/workloadgen.sh +2
-2@@ -9,7 +9,7 @@ d() { d "check for required binaries" -required_bins="ceph crushtool test_mon_workloadgen" +required_bins="ceph crushtool ceph_test_mon_workloadgen" for b in $required_bins; do which $b >& /dev/null if [[ $? -ne 0 ]]; then@@ -28,7 +28,7 @@ do_run=0 num_osds=0 # Assume the test is in PATH -bin_test=test_mon_workloadgen +bin_test=ceph_test_mon_workloadgen num_osds=10 if [[ "$LOADGEN_NUM_OSDS" != "" ]]; thenqa/workunits/osdc/stress_objectcacher.sh +1
-1@@ -14,7 +14,7 @@ do do for MAX_DIRTY in 0 25165824 do - test_objectcacher_stress --ops $OPS --percent-read $READS --delay-ns $DELAY --objects $OBJECTS --max-op-size $OP_SIZE --client-oc-max-dirty $MAX_DIRTY > /dev/null 2>&1 + ceph_test_objectcacher_stress --ops $OPS --percent-read $READS --delay-ns $DELAY --objects $OBJECTS --max-op-size $OP_SIZE --client-oc-max-dirty $MAX_DIRTY > /dev/null 2>&1 done done doneqa/workunits/rados/stress_watch.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_stress_watch +ceph_test_stress_watch exit 0qa/workunits/rados/test.sh +12
-12@@ -1,17 +1,17 @@ #!/bin/sh -e -test_rados_api_aio -test_rados_api_io -test_rados_api_list -test_rados_api_misc -test_rados_api_pool -test_rados_api_snapshots -test_rados_api_stat -test_rados_api_watch_notify +ceph_test_rados_api_aio +ceph_test_rados_api_io +ceph_test_rados_api_list +ceph_test_rados_api_misc +ceph_test_rados_api_pool +ceph_test_rados_api_snapshots +ceph_test_rados_api_stat +ceph_test_rados_api_watch_notify -testrados_list_parallel -testrados_open_pools_parallel -testrados_delete_pools_parallel -testrados_watch_notify +ceph_test_rados_list_parallel +ceph_test_rados_open_pools_parallel +ceph_test_rados_delete_pools_parallel +ceph_test_rados_watch_notify exit 0qa/workunits/rbd/smalliobench.sh +1
-1@@ -10,7 +10,7 @@ DUR="$3" for n in `seq 1 $NUM`; do echo "Starting $n of $NUM ..." - smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 & + ceph_smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 & sleep $GAP done echo "Waiting..."qa/workunits/rbd/test_librbd.sh +1
-1@@ -1,5 +1,5 @@ #!/bin/sh -e -test_librbd +ceph_test_librbd exit 0src/.gitignore +60
-38@@ -5,7 +5,7 @@ /ceph-osd /ceph-syn /ceph-dencoder -/dupstore +/ceph_dupstore /fakefuse /fakesyn /mkmonmap@@ -19,23 +19,12 @@ /osdmaptool /rados /rados_sync -/radosacl /radosgw /radosgw-admin /rbdtool -/rgw_jsonparser -/rgw_multiparser -/streamtest -/bench_log -/test_ioctls -/test_trans +/ceph_bench_log /testceph -/testcrypto -/testkeys -/testmsgr -/testrados -/testrados_delete_pool_while_open -/testrados_watch_notify +ceph_test_msgr /testradospp /testdout_streambuf /testsignal_handlers@@ -46,8 +35,7 @@ /test_librgw_build /testrados /test_str_list -/test_stress_watch -/multi_stress_watch +/ceph_multi_stress_watch /test_store /test_libcommon_build /test_mutate@@ -79,7 +67,6 @@ acconfig.h /init-ceph /librados-config /rbd -/psim /sample.fetch_config Makefile@@ -97,24 +84,59 @@ Makefile /ceph.conf /keyring /massif.out.* -/testrados_list_parallel -/testrados_open_pools_parallel -/testrados_delete_pools_parallel -/test_rados_api_aio -/test_rados_api_io -/test_rados_api_list -/test_rados_api_pool -/test_rados_api_stat -/test_rados_api_watch_notify -/test_rados_api_snapshots -/test_rados_api_misc -/test_librbd -/test_librbd_fsx -/scratchtool -/scratchtoolpp -/ceph-filestore-dump -/smalliobench -/smalliobenchdumb -/smalliobenchfs -/smalliobenchrbd -/tpbench +ceph_psim +ceph_radosacl +ceph_rgw_jsonparser +ceph_rgw_multiparser +ceph_streamtest +ceph_test_ioctls +ceph_test_cfuse_cache_invalidate +ceph_test_cls_lock +ceph_test_cls_rbd +ceph_test_cls_refcount +ceph_test_cls_rgw +ceph_test_crypto +ceph_test_filejournal +ceph_test_filestore +ceph_test_filestore_idempotent +ceph_test_filestore_idempotent_sequence +ceph_test_filestore_workloadgen +ceph_test_keys +ceph_test_keyvaluedb_atomicity +ceph_test_keyvaluedb_iterators +ceph_test_libcephfs +ceph_test_libhadoopcephfs_build +ceph_test_librbd +ceph_test_librbd_fsx +ceph_test_mon_workloadgen +ceph_test_mutate +ceph_test_object_map +ceph_test_objectcacher_stress +ceph_test_rados +ceph_test_rados_api_aio +ceph_test_rados_api_cls +ceph_test_rados_api_io +ceph_test_rados_api_list +ceph_test_rados_api_misc +ceph_test_rados_api_pool +ceph_test_rados_api_snapshots +ceph_test_rados_api_stat +ceph_test_rados_api_watch_notify +ceph_test_rados_delete_pools_parallel +ceph_test_rados_list_parallel +ceph_test_rados_open_pools_parallel +ceph_test_rados_watch_notify +ceph_test_rewrite_latency +ceph_test_signal_handlers +ceph_test_stress_watch +ceph_test_timers +ceph_test_trans +ceph_tpbench +ceph_xattr_bench +ceph_scratchtool +ceph_scratchtoolpp +ceph_filestore_dump +ceph_smalliobench +ceph_smalliobenchdumb +ceph_smalliobenchfs +ceph_smalliobenchrbdsrc/Makefile.am +293
-293@@ -115,7 +115,7 @@ ceph_filestore_dump_LDADD = libosd.a $(LIBOS_LDA) $(LIBGLOBAL_LDA) -lboost_progr if LINUX ceph_filestore_dump_LDADD += -ldl endif -bin_PROGRAMS += ceph ceph-conf ceph-authtool ceph-filestore-dump +bin_PROGRAMS += ceph ceph-conf ceph-authtool ceph_filestore_dump monmaptool_SOURCES = monmaptool.cc monmaptool_LDADD = $(LIBGLOBAL_LDA)@@ -198,106 +198,106 @@ ceph_mon_SOURCES += perfglue/disabled_heap_profiler.cc endif # WITH_TCMALLOC # debug targets -psim_SOURCES = psim.cc -psim_LDADD = $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += psim - -test_mutate_SOURCES = test/test_mutate.cc -test_mutate_LDADD = libglobal.la librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -bin_DEBUGPROGRAMS += test_mutate - -test_rewrite_latency_SOURCES = test/test_rewrite_latency.cc -test_rewrite_latency_LDADD = libcommon.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -bin_DEBUGPROGRAMS += test_rewrite_latency - -testmsgr_SOURCES = testmsgr.cc -testmsgr_LDADD = $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += testmsgr - -test_ioctls_SOURCES = client/test_ioctls.c -bin_DEBUGPROGRAMS += test_ioctls - -dupstore_SOURCES = dupstore.cc -dupstore_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -dupstore_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -streamtest_SOURCES = streamtest.cc -streamtest_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -streamtest_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += dupstore streamtest - -test_trans_SOURCES = test_trans.cc -test_trans_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -test_trans_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += test_trans - -testrados_SOURCES = test/osd/TestRados.cc test/osd/TestOpStat.cc test/osd/Object.cc test/osd/RadosModel.cc -testrados_LDADD = librados.la $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += testrados - -smalliobench_SOURCES = test/bench/small_io_bench.cc test/bench/rados_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc -smalliobench_LDADD = librados.la -lboost_program_options $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += smalliobench - -smalliobenchfs_SOURCES = test/bench/small_io_bench_fs.cc test/bench/filestore_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc -smalliobenchfs_LDADD = librados.la -lboost_program_options $(LIBOS_LDA) $(LIBGLOBAL_LDA) -smalliobenchfs_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += smalliobenchfs - -smalliobenchdumb_SOURCES = test/bench/small_io_bench_dumb.cc test/bench/dumb_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc -smalliobenchdumb_LDADD = librados.la -lboost_program_options $(LIBOS_LDA) $(LIBGLOBAL_LDA) -smalliobenchdumb_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += smalliobenchdumb - -smalliobenchrbd_SOURCES = test/bench/small_io_bench_rbd.cc test/bench/rbd_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc -smalliobenchrbd_LDADD = librados.la librbd.la -lboost_program_options $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += smalliobenchrbd - -tpbench_SOURCES = test/bench/tp_bench.cc test/bench/detailed_stat_collector.cc -tpbench_LDADD = librados.la -lboost_program_options $(LIBOS_LDA) $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += tpbench - -omapbench_SOURCES = test/omap_bench.cc -omapbench_LDADD = librados.la $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += omapbench - -kvstorebench_SOURCES = test/kv_store_bench.cc key_value_store/kv_flat_btree_async.cc -kvstorebench_LDADD = librados.la $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += kvstorebench - -multi_stress_watch_SOURCES = test/multi_stress_watch.cc test/librados/test.cc -multi_stress_watch_LDADD = librados.la $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += multi_stress_watch +ceph_psim_SOURCES = psim.cc +ceph_psim_LDADD = $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_psim + +ceph_test_mutate_SOURCES = test/test_mutate.cc +ceph_test_mutate_LDADD = libglobal.la librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +bin_DEBUGPROGRAMS += ceph_test_mutate + +ceph_test_rewrite_latency_SOURCES = test/test_rewrite_latency.cc +ceph_test_rewrite_latency_LDADD = libcommon.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +bin_DEBUGPROGRAMS += ceph_test_rewrite_latency + +ceph_test_msgr_SOURCES = testmsgr.cc +ceph_test_msgr_LDADD = $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_test_msgr + +ceph_test_ioctls_SOURCES = client/test_ioctls.c +bin_DEBUGPROGRAMS += ceph_test_ioctls + +ceph_dupstore_SOURCES = dupstore.cc +ceph_dupstore_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +ceph_dupstore_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_streamtest_SOURCES = streamtest.cc +ceph_streamtest_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +ceph_streamtest_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_dupstore ceph_streamtest + +ceph_test_trans_SOURCES = test_trans.cc +ceph_test_trans_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +ceph_test_trans_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_test_trans + +ceph_test_rados_SOURCES = test/osd/TestRados.cc test/osd/TestOpStat.cc test/osd/Object.cc test/osd/RadosModel.cc +ceph_test_rados_LDADD = librados.la $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_test_rados + +ceph_smalliobench_SOURCES = test/bench/small_io_bench.cc test/bench/rados_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc +ceph_smalliobench_LDADD = librados.la -lboost_program_options $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_smalliobench + +ceph_smalliobenchfs_SOURCES = test/bench/small_io_bench_fs.cc test/bench/filestore_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc +ceph_smalliobenchfs_LDADD = librados.la -lboost_program_options $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_smalliobenchfs_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_smalliobenchfs + +ceph_smalliobenchdumb_SOURCES = test/bench/small_io_bench_dumb.cc test/bench/dumb_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc +ceph_smalliobenchdumb_LDADD = librados.la -lboost_program_options $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_smalliobenchdumb_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_smalliobenchdumb + +ceph_smalliobenchrbd_SOURCES = test/bench/small_io_bench_rbd.cc test/bench/rbd_backend.cc test/bench/detailed_stat_collector.cc test/bench/bencher.cc +ceph_smalliobenchrbd_LDADD = librados.la librbd.la -lboost_program_options $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_smalliobenchrbd + +ceph_tpbench_SOURCES = test/bench/tp_bench.cc test/bench/detailed_stat_collector.cc +ceph_tpbench_LDADD = librados.la -lboost_program_options $(LIBOS_LDA) $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_tpbench + +ceph_omapbench_SOURCES = test/omap_bench.cc +ceph_omapbench_LDADD = librados.la $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_omapbench + +ceph_kvstorebench_SOURCES = test/kv_store_bench.cc key_value_store/kv_flat_btree_async.cc +ceph_kvstorebench_LDADD = librados.la $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_kvstorebench + +ceph_multi_stress_watch_SOURCES = test/multi_stress_watch.cc test/librados/test.cc +ceph_multi_stress_watch_LDADD = librados.la $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_multi_stress_watch if WITH_BUILD_TESTS -test_libcommon_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) -test_libcommon_build_LDADD = $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -bin_DEBUGPROGRAMS += test_libcommon_build +ceph_test_libcommon_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) +ceph_test_libcommon_build_LDADD = $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +bin_DEBUGPROGRAMS += ceph_test_libcommon_build -test_librados_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) $(librados_SOURCES) -test_librados_build_LDADD = $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -test_librados_build_CXXFLAGS = $(AM_CXXFLAGS) -bin_DEBUGPROGRAMS += test_librados_build +ceph_test_librados_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) $(librados_SOURCES) +ceph_test_librados_build_LDADD = $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +ceph_test_librados_build_CXXFLAGS = $(AM_CXXFLAGS) +bin_DEBUGPROGRAMS += ceph_test_librados_build -test_librgw_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) \ +ceph_test_librgw_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) \ $(librados_SOURCES) $(librgw_la_SOURCES) -test_librgw_build_LDADD = -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -test_librgw_build_CXXFLAGS = $(AM_CXXFLAGS) -bin_DEBUGPROGRAMS += test_librgw_build +ceph_test_librgw_build_LDADD = -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +ceph_test_librgw_build_CXXFLAGS = $(AM_CXXFLAGS) +bin_DEBUGPROGRAMS += ceph_test_librgw_build -test_libcephfs_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) \ +ceph_test_libcephfs_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) \ $(libosdc_la_SOURCES) -test_libcephfs_build_LDADD = libcephfs.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -test_libcephfs_build_CXXFLAGS = $(AM_CXXFLAGS) -bin_DEBUGPROGRAMS += test_libcephfs_build +ceph_test_libcephfs_build_LDADD = libcephfs.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +ceph_test_libcephfs_build_CXXFLAGS = $(AM_CXXFLAGS) +bin_DEBUGPROGRAMS += ceph_test_libcephfs_build endif if WITH_HADOOPCLIENT -test_libhadoopcephfs_build_SOURCES = test/test_libcommon_build.cc \ +ceph_test_libhadoopcephfs_build_SOURCES = test/test_libcommon_build.cc \ $(libhadoopcephfs_la_SOURCES) \ $(libosdc_la_SOURCES) $(libcommon_files) -test_libhadoopcephfs_build_LDADD = libcephfs.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -test_libhadoopcephfs_build_CXXFLAGS = $(AM_CXXFLAGS) -bin_DEBUGPROGRAMS += test_libhadoopcephfs_build +ceph_test_libhadoopcephfs_build_LDADD = libcephfs.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +ceph_test_libhadoopcephfs_build_CXXFLAGS = $(AM_CXXFLAGS) +bin_DEBUGPROGRAMS += ceph_test_libhadoopcephfs_build endif ##########@@ -316,13 +316,13 @@ libcephfs_la_LDFLAGS = $(PTHREAD_LIBS) $(CRYPTO_LIBS) $(EXTRALIBS) \ ${AM_LDFLAGS} -version-info 1:0:0 -export-symbols-regex '^ceph_.*' lib_LTLIBRARIES += libcephfs.la -testtimers_SOURCES = test/TestTimers.cc -testtimers_LDADD = $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += testtimers +ceph_test_timers_SOURCES = test/TestTimers.cc +ceph_test_timers_LDADD = $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_test_timers -testsignal_handlers_SOURCES = test/TestSignalHandlers.cc -testsignal_handlers_LDADD = $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += testsignal_handlers +ceph_test_signal_handlers_SOURCES = test/TestSignalHandlers.cc +ceph_test_signal_handlers_LDADD = $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_test_signal_handlers # librados librados_SOURCES = \@@ -392,15 +392,15 @@ radosgw_admin_CXXFLAGS = ${AM_CXXFLAGS} radosgw_admin_LDADD = $(my_radosgw_ldadd) bin_PROGRAMS += radosgw-admin -rgw_multiparser_SOURCES = rgw/rgw_multiparser.cc -rgw_multiparser_CXXFLAGS = ${AM_CXXFLAGS} -rgw_multiparser_LDADD = $(my_radosgw_ldadd) -bin_DEBUGPROGRAMS += rgw_multiparser +ceph_rgw_multiparser_SOURCES = rgw/rgw_multiparser.cc +ceph_rgw_multiparser_CXXFLAGS = ${AM_CXXFLAGS} +ceph_rgw_multiparser_LDADD = $(my_radosgw_ldadd) +bin_DEBUGPROGRAMS += ceph_rgw_multiparser -rgw_jsonparser_SOURCES = rgw/rgw_jsonparser.cc -rgw_jsonparser_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -rgw_jsonparser_LDADD = $(my_radosgw_ldadd) -bin_DEBUGPROGRAMS += rgw_jsonparser +ceph_rgw_jsonparser_SOURCES = rgw/rgw_jsonparser.cc +ceph_rgw_jsonparser_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +ceph_rgw_jsonparser_LDADD = $(my_radosgw_ldadd) +bin_DEBUGPROGRAMS += ceph_rgw_jsonparser endif@@ -448,13 +448,13 @@ endif endif -scratchtool_SOURCES = scratchtool.c -scratchtool_LDADD = librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -scratchtoolpp_SOURCES = scratchtoolpp.cc -scratchtoolpp_LDADD = librados.la $(PTHREAD_LIBS) -lm -radosacl_SOURCES = radosacl.cc -radosacl_LDADD = librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -bin_DEBUGPROGRAMS += scratchtool scratchtoolpp radosacl +ceph_scratchtool_SOURCES = scratchtool.c +ceph_scratchtool_LDADD = librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +ceph_scratchtoolpp_SOURCES = scratchtoolpp.cc +ceph_scratchtoolpp_LDADD = librados.la $(PTHREAD_LIBS) -lm +ceph_radosacl_SOURCES = radosacl.cc +ceph_radosacl_LDADD = librados.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +bin_DEBUGPROGRAMS += ceph_scratchtool ceph_scratchtoolpp ceph_radosacl rbd_SOURCES = rbd.cc common/fiemap.cc common/secret.c common/TextTable.cc common/util.cc rbd_CXXFLAGS = ${AM_CXXFLAGS}@@ -464,20 +464,20 @@ bin_PROGRAMS += rbd endif -testcrypto_SOURCES = testcrypto.cc -testcrypto_LDADD = $(LIBGLOBAL_LDA) -testcrypto_CXXFLAGS = ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += testcrypto +ceph_test_crypto_SOURCES = testcrypto.cc +ceph_test_crypto_LDADD = $(LIBGLOBAL_LDA) +ceph_test_crypto_CXXFLAGS = ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_crypto -testkeys_SOURCES = testkeys.cc -testkeys_LDADD = libmon.a $(LIBGLOBAL_LDA) -testkeys_CXXFLAGS = ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += testkeys +ceph_test_keys_SOURCES = testkeys.cc +ceph_test_keys_LDADD = libmon.a $(LIBGLOBAL_LDA) +ceph_test_keys_CXXFLAGS = ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_keys if WITH_TCMALLOC -testkeys_LDADD += -ltcmalloc -testkeys_CXXFLAGS += ${tcmalloc_safety_flags} -testkeys_SOURCES += perfglue/heap_profiler.cc +ceph_test_keys_LDADD += -ltcmalloc +ceph_test_keys_CXXFLAGS += ${tcmalloc_safety_flags} +ceph_test_keys_SOURCES += perfglue/heap_profiler.cc endif@@ -583,41 +583,41 @@ libsystest_la_SOURCES = \ libsystest_la_LIBADD = libglobal.la noinst_LTLIBRARIES += libsystest.la -testrados_list_parallel_SOURCES = \ +ceph_test_rados_list_parallel_SOURCES = \ test/system/rados_list_parallel.cc \ test/system/st_rados_create_pool.cc \ test/system/st_rados_list_objects.cc -testrados_list_parallel_LDADD = libsystest.la librados.la -bin_DEBUGPROGRAMS += testrados_list_parallel +ceph_test_rados_list_parallel_LDADD = libsystest.la librados.la +bin_DEBUGPROGRAMS += ceph_test_rados_list_parallel -testrados_open_pools_parallel_SOURCES = \ +ceph_test_rados_open_pools_parallel_SOURCES = \ test/system/rados_open_pools_parallel.cc \ test/system/st_rados_create_pool.cc -testrados_open_pools_parallel_LDADD = libsystest.la librados.la -bin_DEBUGPROGRAMS += testrados_open_pools_parallel +ceph_test_rados_open_pools_parallel_LDADD = libsystest.la librados.la +bin_DEBUGPROGRAMS += ceph_test_rados_open_pools_parallel -testrados_delete_pools_parallel_SOURCES = \ +ceph_test_rados_delete_pools_parallel_SOURCES = \ test/system/rados_delete_pools_parallel.cc \ test/system/st_rados_create_pool.cc \ test/system/st_rados_delete_pool.cc \ test/system/st_rados_list_objects.cc -testrados_delete_pools_parallel_LDADD = libsystest.la librados.la -bin_DEBUGPROGRAMS += testrados_delete_pools_parallel +ceph_test_rados_delete_pools_parallel_LDADD = libsystest.la librados.la +bin_DEBUGPROGRAMS += ceph_test_rados_delete_pools_parallel -testrados_watch_notify_SOURCES = \ +ceph_test_rados_watch_notify_SOURCES = \ test/system/rados_watch_notify.cc \ test/system/st_rados_create_pool.cc \ test/system/st_rados_delete_pool.cc \ test/system/st_rados_delete_objs.cc \ test/system/st_rados_watch.cc \ test/system/st_rados_notify.cc -testrados_watch_notify_LDADD = libsystest.la librados.la -bin_DEBUGPROGRAMS += testrados_watch_notify +ceph_test_rados_watch_notify_LDADD = libsystest.la librados.la +bin_DEBUGPROGRAMS += ceph_test_rados_watch_notify -bench_log_SOURCES = \ +ceph_bench_log_SOURCES = \ test/bench_log.cc -bench_log_LDADD = libcommon.la libglobal.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) -bin_DEBUGPROGRAMS += bench_log +ceph_bench_log_LDADD = libcommon.la libglobal.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS) +bin_DEBUGPROGRAMS += ceph_bench_log ## unit tests@@ -834,193 +834,193 @@ unittest_texttable_LDADD = librados.la ${UNITTEST_LDADD} unittest_texttable_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} check_PROGRAMS += unittest_texttable -test_librbd_SOURCES = test/librbd/test_librbd.cc test/librados/test.cc -test_librbd_LDADD = librbd.la librados.la ${UNITTEST_STATIC_LDADD} -test_librbd_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_librbd +ceph_test_librbd_SOURCES = test/librbd/test_librbd.cc test/librados/test.cc +ceph_test_librbd_LDADD = librbd.la librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_librbd_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_librbd -test_librbd_fsx_SOURCES = test/librbd/fsx.c -test_librbd_fsx_LDADD = librbd.la librados.la -lm -test_librbd_fsx_CFLAGS = ${AM_CFLAGS} -Wno-format -bin_DEBUGPROGRAMS += test_librbd_fsx +ceph_test_librbd_fsx_SOURCES = test/librbd/fsx.c +ceph_test_librbd_fsx_LDADD = librbd.la librados.la -lm +ceph_test_librbd_fsx_CFLAGS = ${AM_CFLAGS} -Wno-format +bin_DEBUGPROGRAMS += ceph_test_librbd_fsx -test_cls_rbd_SOURCES = test/cls_rbd/test_cls_rbd.cc \ +ceph_test_cls_rbd_SOURCES = test/cls_rbd/test_cls_rbd.cc \ test/librados/test.cc \ cls/rbd/cls_rbd_client.cc \ cls/lock/cls_lock_client.cc \ cls/lock/cls_lock_types.cc \ cls/lock/cls_lock_ops.cc -test_cls_rbd_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_cls_rbd_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_cls_rbd +ceph_test_cls_rbd_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_cls_rbd_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_cls_rbd -test_cls_refcount_SOURCES = test/cls_refcount/test_cls_refcount.cc \ +ceph_test_cls_refcount_SOURCES = test/cls_refcount/test_cls_refcount.cc \ test/librados/test.cc -test_cls_refcount_LDADD = librados.la libcls_refcount_client.a ${UNITTEST_STATIC_LDADD} -test_cls_refcount_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_cls_refcount +ceph_test_cls_refcount_LDADD = librados.la libcls_refcount_client.a ${UNITTEST_STATIC_LDADD} +ceph_test_cls_refcount_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_cls_refcount -test_cls_lock_SOURCES = test/cls_lock/test_cls_lock.cc test/librados/test.cc -test_cls_lock_LDFLAGS = ${AM_LDFLAGS} -test_cls_lock_LDADD = libcls_lock_client.a librados.la ${UNITTEST_STATIC_LDADD} -test_cls_lock_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_cls_lock +ceph_test_cls_lock_SOURCES = test/cls_lock/test_cls_lock.cc test/librados/test.cc +ceph_test_cls_lock_LDFLAGS = ${AM_LDFLAGS} +ceph_test_cls_lock_LDADD = libcls_lock_client.a librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_cls_lock_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_cls_lock if WITH_RADOSGW -test_cls_rgw_SOURCES = test/cls_rgw/test_cls_rgw.cc \ +ceph_test_cls_rgw_SOURCES = test/cls_rgw/test_cls_rgw.cc \ test/librados/test.cc -test_cls_rgw_LDADD = librados.la libcls_rgw_client.a ${UNITTEST_STATIC_LDADD} -test_cls_rgw_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_cls_rgw +ceph_test_cls_rgw_LDADD = librados.la libcls_rgw_client.a ${UNITTEST_STATIC_LDADD} +ceph_test_cls_rgw_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_cls_rgw endif -test_mon_workloadgen_SOURCES = \ +ceph_test_mon_workloadgen_SOURCES = \ test/mon/test_mon_workloadgen.cc \ osdc/Objecter.cc \ osdc/Striper.cc -test_mon_workloadgen_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_mon_workloadgen_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += test_mon_workloadgen - -test_rados_api_io_SOURCES = test/librados/io.cc test/librados/test.cc -test_rados_api_io_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_io_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_io_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_io - -test_rados_api_aio_SOURCES = test/librados/aio.cc test/librados/test.cc -test_rados_api_aio_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_aio_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_aio_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_aio - -test_rados_api_list_SOURCES = test/librados/list.cc test/librados/test.cc -test_rados_api_list_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_list_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_list_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_list - -test_rados_api_pool_SOURCES = test/librados/pool.cc test/librados/test.cc -test_rados_api_pool_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_pool_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_pool_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_pool - -test_rados_api_stat_SOURCES = test/librados/stat.cc test/librados/test.cc -test_rados_api_stat_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_stat_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_stat_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_stat - -test_rados_api_watch_notify_SOURCES = test/librados/watch_notify.cc test/librados/test.cc -test_rados_api_watch_notify_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_watch_notify_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_watch_notify_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_watch_notify - -test_rados_api_snapshots_SOURCES = test/librados/snapshots.cc test/librados/test.cc -test_rados_api_snapshots_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_snapshots_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_snapshots_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_snapshots - -test_rados_api_cls_SOURCES = test/librados/cls.cc test/librados/test.cc -test_rados_api_cls_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_cls_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_cls_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_cls - -test_rados_api_misc_SOURCES = test/librados/misc.cc test/librados/test.cc -test_rados_api_misc_LDFLAGS = ${AM_LDFLAGS} -test_rados_api_misc_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_rados_api_misc_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_rados_api_misc - -test_libcephfs_SOURCES = test/libcephfs/test.cc test/libcephfs/readdir_r_cb.cc test/libcephfs/caps.cc -test_libcephfs_LDFLAGS = $(PTHREAD_CFLAGS) ${AM_LDFLAGS} -test_libcephfs_LDADD = ${UNITTEST_STATIC_LDADD} libcephfs.la -test_libcephfs_CXXFLAGS = $(AM_CXXFLAGS) ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_libcephfs - -test_filestore_SOURCES = test/filestore/store_test.cc -test_filestore_LDFLAGS = ${AM_LDFLAGS} -test_filestore_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_filestore_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} -bin_DEBUGPROGRAMS += test_filestore - -test_filestore_workloadgen_SOURCES = \ +ceph_test_mon_workloadgen_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_mon_workloadgen_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_mon_workloadgen + +ceph_test_rados_api_io_SOURCES = test/librados/io.cc test/librados/test.cc +ceph_test_rados_api_io_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_io_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_io_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_io + +ceph_test_rados_api_aio_SOURCES = test/librados/aio.cc test/librados/test.cc +ceph_test_rados_api_aio_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_aio_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_aio_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_aio + +ceph_test_rados_api_list_SOURCES = test/librados/list.cc test/librados/test.cc +ceph_test_rados_api_list_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_list_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_list_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_list + +ceph_test_rados_api_pool_SOURCES = test/librados/pool.cc test/librados/test.cc +ceph_test_rados_api_pool_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_pool_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_pool_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_pool + +ceph_test_rados_api_stat_SOURCES = test/librados/stat.cc test/librados/test.cc +ceph_test_rados_api_stat_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_stat_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_stat_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_stat + +ceph_test_rados_api_watch_notify_SOURCES = test/librados/watch_notify.cc test/librados/test.cc +ceph_test_rados_api_watch_notify_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_watch_notify_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_watch_notify_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_watch_notify + +ceph_test_rados_api_snapshots_SOURCES = test/librados/snapshots.cc test/librados/test.cc +ceph_test_rados_api_snapshots_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_snapshots_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_snapshots_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_snapshots + +ceph_test_rados_api_cls_SOURCES = test/librados/cls.cc test/librados/test.cc +ceph_test_rados_api_cls_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_cls_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_cls_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_cls + +ceph_test_rados_api_misc_SOURCES = test/librados/misc.cc test/librados/test.cc +ceph_test_rados_api_misc_LDFLAGS = ${AM_LDFLAGS} +ceph_test_rados_api_misc_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_rados_api_misc_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_rados_api_misc + +ceph_test_libcephfs_SOURCES = test/libcephfs/test.cc test/libcephfs/readdir_r_cb.cc test/libcephfs/caps.cc +ceph_test_libcephfs_LDFLAGS = $(PTHREAD_CFLAGS) ${AM_LDFLAGS} +ceph_test_libcephfs_LDADD = ${UNITTEST_STATIC_LDADD} libcephfs.la +ceph_test_libcephfs_CXXFLAGS = $(AM_CXXFLAGS) ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_libcephfs + +ceph_test_filestore_SOURCES = test/filestore/store_test.cc +ceph_test_filestore_LDFLAGS = ${AM_LDFLAGS} +ceph_test_filestore_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_filestore_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_filestore + +ceph_test_filestore_workloadgen_SOURCES = \ test/filestore/workload_generator.cc \ test/filestore/TestFileStoreState.cc -test_filestore_workloadgen_LDFLAGS = ${AM_LDFLAGS} -test_filestore_workloadgen_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_filestore_workloadgen_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += test_filestore_workloadgen +ceph_test_filestore_workloadgen_LDFLAGS = ${AM_LDFLAGS} +ceph_test_filestore_workloadgen_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_filestore_workloadgen_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_filestore_workloadgen -test_filestore_idempotent_SOURCES = test/filestore/test_idempotent.cc test/filestore/FileStoreTracker.cc test/common/ObjectContents.cc -test_filestore_idempotent_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_filestore_idempotent_CXXFLAGS = $(AM_CXXFLAGS) $(LEVELDB_INCLUDE) -bin_DEBUGPROGRAMS += test_filestore_idempotent +ceph_test_filestore_idempotent_SOURCES = test/filestore/test_idempotent.cc test/filestore/FileStoreTracker.cc test/common/ObjectContents.cc +ceph_test_filestore_idempotent_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_filestore_idempotent_CXXFLAGS = $(AM_CXXFLAGS) $(LEVELDB_INCLUDE) +bin_DEBUGPROGRAMS += ceph_test_filestore_idempotent -test_filestore_idempotent_sequence_SOURCES = \ +ceph_test_filestore_idempotent_sequence_SOURCES = \ test/filestore/test_idempotent_sequence.cc \ test/filestore/DeterministicOpSequence.cc \ test/filestore/TestFileStoreState.cc \ test/filestore/FileStoreDiff.cc -test_filestore_idempotent_sequence_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} -test_filestore_idempotent_sequence_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) -bin_DEBUGPROGRAMS += test_filestore_idempotent_sequence - -xattr_bench_SOURCES = test/xattr_bench.cc -xattr_bench_LDFLAGS = ${AM_LDFLAGS} -xattr_bench_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) -xattr_bench_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} -bin_DEBUGPROGRAMS += xattr_bench - -test_filejournal_SOURCES = test/test_filejournal.cc -test_filejournal_LDFLAGS = ${AM_LDFLAGS} -test_filejournal_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_filejournal_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_filejournal - -test_stress_watch_SOURCES = test/test_stress_watch.cc test/librados/test.cc -test_stress_watch_LDFLAGS = ${AM_LDFLAGS} -test_stress_watch_LDADD = librados.la ${UNITTEST_STATIC_LDADD} -test_stress_watch_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -bin_DEBUGPROGRAMS += test_stress_watch - -test_objectcacher_stress_SOURCES = test/osdc/object_cacher_stress.cc test/osdc/FakeWriteback.cc osdc/ObjectCacher.cc -test_objectcacher_stress_LDFLAGS = ${AM_LDFLAGS} -test_objectcacher_stress_LDADD = $(LIBGLOBAL_LDA) -test_objectcacher_stress_CXXFLAGS = ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += test_objectcacher_stress - -test_object_map_SOURCES = test/ObjectMap/test_object_map.cc test/ObjectMap/KeyValueDBMemory.cc os/DBObjectMap.cc os/LevelDBStore.cc -test_object_map_LDFLAGS = ${AM_LDFLAGS} -test_object_map_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_object_map_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} -bin_DEBUGPROGRAMS += test_object_map - -test_keyvaluedb_atomicity_SOURCES = test/ObjectMap/test_keyvaluedb_atomicity.cc os/LevelDBStore.cc -test_keyvaluedb_atomicity_LDFLAGS = ${AM_LDFLAGS} -test_keyvaluedb_atomicity_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_keyvaluedb_atomicity_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} -bin_DEBUGPROGRAMS += test_keyvaluedb_atomicity - -test_keyvaluedb_iterators_SOURCES = test/ObjectMap/test_keyvaluedb_iterators.cc \ +ceph_test_filestore_idempotent_sequence_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} +ceph_test_filestore_idempotent_sequence_LDADD = $(LIBOS_LDA) $(LIBGLOBAL_LDA) +bin_DEBUGPROGRAMS += ceph_test_filestore_idempotent_sequence + +ceph_xattr_bench_SOURCES = test/xattr_bench.cc +ceph_xattr_bench_LDFLAGS = ${AM_LDFLAGS} +ceph_xattr_bench_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_xattr_bench_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_xattr_bench + +ceph_test_filejournal_SOURCES = test/test_filejournal.cc +ceph_test_filejournal_LDFLAGS = ${AM_LDFLAGS} +ceph_test_filejournal_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_filejournal_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_filejournal + +ceph_test_stress_watch_SOURCES = test/test_stress_watch.cc test/librados/test.cc +ceph_test_stress_watch_LDFLAGS = ${AM_LDFLAGS} +ceph_test_stress_watch_LDADD = librados.la ${UNITTEST_STATIC_LDADD} +ceph_test_stress_watch_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_stress_watch + +ceph_test_objectcacher_stress_SOURCES = test/osdc/object_cacher_stress.cc test/osdc/FakeWriteback.cc osdc/ObjectCacher.cc +ceph_test_objectcacher_stress_LDFLAGS = ${AM_LDFLAGS} +ceph_test_objectcacher_stress_LDADD = $(LIBGLOBAL_LDA) +ceph_test_objectcacher_stress_CXXFLAGS = ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_objectcacher_stress + +ceph_test_object_map_SOURCES = test/ObjectMap/test_object_map.cc test/ObjectMap/KeyValueDBMemory.cc os/DBObjectMap.cc os/LevelDBStore.cc +ceph_test_object_map_LDFLAGS = ${AM_LDFLAGS} +ceph_test_object_map_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_object_map_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_object_map + +ceph_test_keyvaluedb_atomicity_SOURCES = test/ObjectMap/test_keyvaluedb_atomicity.cc os/LevelDBStore.cc +ceph_test_keyvaluedb_atomicity_LDFLAGS = ${AM_LDFLAGS} +ceph_test_keyvaluedb_atomicity_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_keyvaluedb_atomicity_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_keyvaluedb_atomicity + +ceph_test_keyvaluedb_iterators_SOURCES = test/ObjectMap/test_keyvaluedb_iterators.cc \ test/ObjectMap/KeyValueDBMemory.cc \ os/LevelDBStore.cc -test_keyvaluedb_iterators_LDFLAGS = ${AM_LDFLAGS} -test_keyvaluedb_iterators_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) -test_keyvaluedb_iterators_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} -bin_DEBUGPROGRAMS += test_keyvaluedb_iterators - -test_cfuse_cache_invalidate_SOURCES = test/test_cfuse_cache_invalidate.cc -test_cfuse_cache_invalidate_LDFLAGS = ${AM_LDFLAGS} -test_cfuse_cache_invalidate_LDADD = -test_cfuse_cache_invalidate_CXXFLAGS = ${AM_CXXFLAGS} -bin_DEBUGPROGRAMS += test_cfuse_cache_invalidate +ceph_test_keyvaluedb_iterators_LDFLAGS = ${AM_LDFLAGS} +ceph_test_keyvaluedb_iterators_LDADD = ${UNITTEST_STATIC_LDADD} $(LIBOS_LDA) $(LIBGLOBAL_LDA) +ceph_test_keyvaluedb_iterators_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} $(LEVELDB_INCLUDE) ${CRYPTO_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_keyvaluedb_iterators + +ceph_test_cfuse_cache_invalidate_SOURCES = test/test_cfuse_cache_invalidate.cc +ceph_test_cfuse_cache_invalidate_LDFLAGS = ${AM_LDFLAGS} +ceph_test_cfuse_cache_invalidate_LDADD = +ceph_test_cfuse_cache_invalidate_CXXFLAGS = ${AM_CXXFLAGS} +bin_DEBUGPROGRAMS += ceph_test_cfuse_cache_invalidate # shell scripts editpaths = sed \src/client/test_ioctls.c +1
-1@@ -24,7 +24,7 @@ int main(int argc, char **argv)struct ceph_ioctl_dataloc dl;if (argc <3 ) { -printf ("usage: test_ioctls <filename> <offset>\n" ); +printf ("usage: ceph_test_ioctls <filename> <offset>\n" );return 1 ; } fn = argv[1 ];src/dupstore.cc +1
-1@@ -77,7 +77,7 @@ int dupstore(ObjectStore* src, ObjectStore* dst) void usage() { - cerr << "usage: dupstore filestore SRC filestore DST" << std::endl; + cerr << "usage: ceph_dupstore filestore SRC filestore DST" << std::endl; exit(0); }src/psim.cc +1
-1@@ -52,7 +52,7 @@ int main(int argc, char **argv) int x = H(oid); x = ceph_stable_mod(x, 1023, 1023); int s = crush_hash32(x) % 15; - //cout << "psim: x = " << x << " s = " << s << std::endl; + //cout << "ceph_psim: x = " << x << " s = " << s << std::endl; //osds[0] = s; } #endifsrc/test/filestore/TestFileStoreState.cc +1
-1@@ -27,7 +27,7 @@ #define dout_subsys ceph_subsys_filestore #undef dout_prefix -#define dout_prefix *_dout << "test_filestore_state " +#define dout_prefix *_dout << "ceph_test_filestore_state " const coll_t TestFileStoreState::META_COLL("meta"); const coll_t TestFileStoreState::TEMP_COLL("temp");src/test/filestore/run_seed_to.sh +5
-5@@ -1,7 +1,7 @@ #!/bin/bash # vim: ts=8 sw=2 smarttab # -# run_seed_to.sh - Run test_filestore_idempotent_sequence up until an +# run_seed_to.sh - Run ceph_test_filestore_idempotent_sequence up until an # injection point, generating a sequence of operations based on a # provided seed. #@@ -244,13 +244,13 @@ do fi do_rm $tmp_name_a $tmp_name_a.fail $tmp_name_a.recover - $v test_filestore_idempotent_sequence run-sequence-to $to \ + $v ceph_test_filestore_idempotent_sequence run-sequence-to $to \ $tmp_name_a $tmp_name_a/journal \ --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \ --filestore-kill-at $killat $tmp_opts_a \ --log-file $tmp_name_a.fail --debug-filestore 20 || true - stop_at=`test_filestore_idempotent_sequence get-last-op \ + stop_at=`ceph_test_filestore_idempotent_sequence get-last-op \ $tmp_name_a $tmp_name_a/journal \ --filestore-xattr-use-omap --log-file $tmp_name_a.recover \ --debug-filestore 20 --debug-journal 20`@@ -263,12 +263,12 @@ do echo stopped at $stop_at do_rm $tmp_name_b $tmp_name_b.clean - $v test_filestore_idempotent_sequence run-sequence-to \ + $v ceph_test_filestore_idempotent_sequence run-sequence-to \ $stop_at $tmp_name_b $tmp_name_b/journal \ --filestore-xattr-use-omap --test-seed $seed --osd-journal-size 100 \ --log-file $tmp_name_b.clean --debug-filestore 20 $tmp_opts_b - if $v test_filestore_idempotent_sequence diff \ + if $v ceph_test_filestore_idempotent_sequence diff \ $tmp_name_a $tmp_name_a/journal $tmp_name_b $tmp_name_b/journal \ --filestore-xattr-use-omap; then echo OKsrc/test/run-rbd-tests +0
-0
src/test/run-rbd-tests run_api_tests() { · line 28
Quoted 7 lines
src/test/run-rbd-tests +1
-3@@ -25,12 +25,12 @@ run_api_tests() { recreate_pool rbd # skip many_snaps since it takes several minutes # skip remove_with_watcher until #2533 is fixed - nosetests -v test_rbd -e '.*many_snaps' -e '.*remove_with_watcher' - # test_librbd creates its own pools - test_librbd + nosetests -v ceph_test_rbd -e '.*many_snaps' -e '.*remove_with_watcher'
test_rbd is a python test that wasn't (and doesn't need to be) renamed, since it's neither an executable nor installed.
Quoted 36 lines
src/test/run-rbd-tests +3
-1+ # ceph_test_librbd creates its own pools + ceph_test_librbd } -test_cls_rbd +ceph_test_cls_rbd run_api_tests run_cli_testssrc/test/test_filejournal.cc +1
-1@@ -74,7 +74,7 @@ int main(int argc, char **argv) { strcpy(path, args[0]); } else { srand(getpid()+time(0)); - snprintf(path, sizeof(path), "/tmp/test_filejournal.tmp.%d", rand()); + snprintf(path, sizeof(path), "/tmp/ceph_test_filejournal.tmp.%d", rand()); } cout << "path " << path << std::endl;src/test/test_mutate.cc +1
-1@@ -48,7 +48,7 @@ int main(int argc, const char **argv) common_init_finish(g_ceph_context); string val; - string oid("test_object"); + string oid("ceph_test_object"); string pool_name("test_pool"); for (std::vector<const char*>::iterator i = args.begin(); i != args.end(); ) { if (ceph_argparse_double_dash(args, i)) {
PATCH 2/3 .gitignore: cleanup and sort entries
In reply to Danny Al-GaafCleanup old entries and sort the existing entries. Remove no longer existing entries/files. Move src/* entries from top level .gitignore to the correct subdir .gitignore file.
--- .gitignore | 78 ++++++++++------------- doc/.gitignore | 3 +- src/.gitignore | 173 +++++++++++++-------------------------------------- src/.gitignore.orig | 142 ++++++++++++++++++++++++++++++++++++++++++ src/gtest/.gitignore | 2 + 5 files changed, 221 insertions(+), 177 deletions(-) create mode 100644 src/.gitignore.orig create mode 100644 src/gtest/.gitignore
.gitignore +32 -46
@@ -8,65 +8,51 @@ *.tar.bz2 *.dsc *.changes -./config.* *.gcda *.gcov *.gcno +*.generated.dot +*.la +*.so +*.swp +*.swo +*.pyc +*.pyo +.cproject .deps -web/*.html -gmon.out -core.* -vgcore.* -src/Makefile -Makefile.in -/Makefile -/man/Makefile +.dirstamp +.metadata +.project +.settings aclocal.m4 +ar-lib autom4te.cache -config.log -config.status +build-* +ceph.spec +compile +config.* configure -stamp-h1 +configure-stamp +core* +cscope.* depcomp +gmon.out install-sh -missing -src/ceph_ver.h -release -*.la -ceph.spec -compile -config.guess -config.sub libtool ltmain.sh -cscope.files -cscope.out -*.swp -*.swo -.metadata/ -/py-compile -*.pyc -*.pyo -core -/build-stamp -/configure-stamp -.settings -.project -.cproject -/build-doc -/doc/object_store.png -/src/test_* -*.generated.dot -src/ocf/ceph -src/ocf/rbd -src/ceph_omapbench -src/ceph_kvstorebench -ar-lib -.dirstamp +Makefile +Makefile.in +missing +py-compile +release +stamp-h1 +vgcore.* # temporary directory used by e.g. "make distcheck", e.g. ceph-0.42 /ceph-[0-9]*/ # M4 Macro directory -m4/ -src/gtest/m4/ +m4 + +# where is this from? +web/*.html
doc/.gitignore +2 -1
@@ -1,2 +1,3 @@ *.tmp -/overview.png +overview.png +object_store.png
src/.gitignore +43 -130
185 lines not on this page · raw message
src/.gitignore.orig new file +142 -0
142 lines not on this page · raw message
src/gtest/.gitignore new file +2 -0
@@ -0,0 +1,2 @@ +fused-src +scripts/gtest-config
Signature · 1 line
1.8.1.2
Re: [PATCH 2/3] .gitignore: cleanup and sort entries
I like the cleanup in general, but non-generic entries should have a leading /, otherwise they match files with the same name in subdirectories as well.
For example, putting Makefile in .gitignore will also ignore static makefiles in the qa subdirectories. Some of the existing entries are already missing this leading /.
Quoted 10 lines · Danny Al-Gaaf
Cleanup old entries and sort the existing entries. Remove no longer existing entries/files. Move src/* entries from top level .gitignore to the correct subdir .gitignore file.
Signed-off-by Danny Al-Gaaf <[email protected]>--- .gitignore | 78 ++++++++++------------- doc/.gitignore | 3 +- src/.gitignore | 173 +++++++++++++-------------------------------------- src/.gitignore.orig | 142 ++++++++++++++++++++++++++++++++++++++++++
No need for this file
Quoted 463 lines
src/gtest/.gitignore | 2 + 5 files changed, 221 insertions(+), 177 deletions(-)create mode 100644 src/.gitignore.orig
create mode 100644 src/gtest/.gitignore.gitignore +32
-46@@ -8,65 +8,51 @@ *.tar.bz2 *.dsc *.changes -./config.* *.gcda *.gcov *.gcno +*.generated.dot +*.la +*.so +*.swp +*.swo +*.pyc +*.pyo +.cproject .deps -web/*.html -gmon.out -core.* -vgcore.* -src/Makefile -Makefile.in -/Makefile -/man/Makefile +.dirstamp +.metadata +.project +.settings aclocal.m4 +ar-lib autom4te.cache -config.log -config.status +build-* +ceph.spec +compile +config.* configure -stamp-h1 +configure-stamp +core* +cscope.* depcomp +gmon.out install-sh -missing -src/ceph_ver.h -release -*.la -ceph.spec -compile -config.guess -config.sub libtool ltmain.sh -cscope.files -cscope.out -*.swp -*.swo -.metadata/ -/py-compile -*.pyc -*.pyo -core -/build-stamp -/configure-stamp -.settings -.project -.cproject -/build-doc -/doc/object_store.png -/src/test_* -*.generated.dot -src/ocf/ceph -src/ocf/rbd -src/ceph_omapbench -src/ceph_kvstorebench -ar-lib -.dirstamp +Makefile +Makefile.in +missing +py-compile +release +stamp-h1 +vgcore.* # temporary directory used by e.g. "make distcheck", e.g. ceph-0.42 /ceph-[0-9]*/ # M4 Macro directory -m4/ -src/gtest/m4/ +m4 + +# where is this from? +web/*.htmldoc/.gitignore +2
-1@@ -1,2 +1,3 @@ *.tmp -/overview.png +overview.png +object_store.pngsrc/.gitignore +43
-130@@ -1,142 +1,55 @@ -/ceph-fuse -/ceph-mds -/ceph-mon -/ceph -/ceph-osd -/ceph-syn -/ceph-dencoder -/ceph_dupstore -/fakefuse -/fakesyn -/mkmonmap -/monmaptool -/newsyn -/authtool -/ceph-authtool -/crushtool -/mkcephfs -/mount.ceph -/osdmaptool -/rados -/rados_sync -/radosgw -/radosgw-admin -/rbdtool -/ceph_bench_log -/testceph -ceph_test_msgr -/testradospp -/testdout_streambuf -/testsignal_handlers -/testtimers -/test_addrs -/test_libceph_build -/test_librados_build -/test_librgw_build -/testrados -/test_str_list -/ceph_multi_stress_watch -/test_store -/test_libcommon_build -/test_mutate -/fsconverter -/xattr_bench -/rest-bench -/rbd-fuse -dev -mondata -mnt -TAGS -tags -out -acconfig.h.in +.git_version +.libs acconfig.h -/.libs - -*.so -/crush/*.fpicco -/CrushWrapper.pm -/crush/CrushWrapper_wrap.cxx - -/.git_version -/ceph-conf -/ceph-debugpack -/cephfs -/ceph-coverage -/dumpjournal -/init-ceph -/librados-config -/rbd -/sample.fetch_config - -Makefile - -/gtest/build-aux/config.h -/gtest/build-aux/config.h.in -/gtest/lib/ -/gtest/scripts/gtest-config -/gtest/src/.dirstamp -/gtest/Makefile.in -/gtest/aclocal.m4 -/gtest/configure -/gtest/fused-src/ -/unittest_* -/ceph.conf -/keyring -/massif.out.* +acconfig.h.in +ceph +cephfs +crushtool +ceph-authtool +ceph-conf +ceph-coverage +ceph-debugpack +ceph-dencoder +ceph-fuse +ceph-mds +ceph-mon +ceph-osd +ceph-syn +ceph_bench_log +ceph_dupstore +ceph_filestore_dump +ceph_multi_stress_watch ceph_psim ceph_radosacl ceph_rgw_jsonparser ceph_rgw_multiparser +ceph_scratchtool +ceph_scratchtoolpp ceph_streamtest -ceph_test_ioctls -ceph_test_cfuse_cache_invalidate -ceph_test_cls_lock -ceph_test_cls_rbd -ceph_test_cls_refcount -ceph_test_cls_rgw -ceph_test_crypto -ceph_test_filejournal -ceph_test_filestore -ceph_test_filestore_idempotent -ceph_test_filestore_idempotent_sequence -ceph_test_filestore_workloadgen -ceph_test_keys -ceph_test_keyvaluedb_atomicity -ceph_test_keyvaluedb_iterators -ceph_test_libcephfs -ceph_test_libhadoopcephfs_build -ceph_test_librbd -ceph_test_librbd_fsx -ceph_test_mon_workloadgen -ceph_test_mutate -ceph_test_object_map -ceph_test_objectcacher_stress -ceph_test_rados -ceph_test_rados_api_aio -ceph_test_rados_api_cls -ceph_test_rados_api_io -ceph_test_rados_api_list -ceph_test_rados_api_misc -ceph_test_rados_api_pool -ceph_test_rados_api_snapshots -ceph_test_rados_api_stat -ceph_test_rados_api_watch_notify -ceph_test_rados_delete_pools_parallel -ceph_test_rados_list_parallel -ceph_test_rados_open_pools_parallel -ceph_test_rados_watch_notify -ceph_test_rewrite_latency -ceph_test_signal_handlers -ceph_test_stress_watch -ceph_test_timers -ceph_test_trans +ceph_test_* ceph_tpbench ceph_xattr_bench -ceph_scratchtool -ceph_scratchtoolpp -ceph_filestore_dump +ceph_kvstorebench +ceph_omapbench ceph_smalliobench ceph_smalliobenchdumb ceph_smalliobenchfs ceph_smalliobenchrbd +ceph_ver.h +init-ceph +librados-config +massif.out.* +mkcephfs +monmaptool +mount.ceph +osdmaptool +rados +radosgw +radosgw-admin +rbd +rbd-fuse +rest-bench +sample.fetch_config +testmsgr +test_* +unittest_*src/.gitignore.orig new file +142
-0@@ -0,0 +1,142 @@ +/ceph-fuse +/ceph-mds +/ceph-mon +/ceph +/ceph-osd +/ceph-syn +/ceph-dencoder +/ceph_dupstore +/fakefuse +/fakesyn +/mkmonmap +/monmaptool +/newsyn +/authtool +/ceph-authtool +/crushtool +/mkcephfs +/mount.ceph +/osdmaptool +/rados +/rados_sync +/radosgw +/radosgw-admin +/rbdtool +/ceph_bench_log +/testceph +ceph_test_msgr +/testradospp +/testdout_streambuf +/testsignal_handlers +/testtimers +/test_addrs +/test_libceph_build +/test_librados_build +/test_librgw_build +/testrados +/test_str_list +/ceph_multi_stress_watch +/test_store +/test_libcommon_build +/test_mutate +/fsconverter +/xattr_bench +/rest-bench +/rbd-fuse +dev +mondata +mnt +TAGS +tags +out +acconfig.h.in +acconfig.h +/.libs + +*.so +/crush/*.fpicco +/CrushWrapper.pm +/crush/CrushWrapper_wrap.cxx + +/.git_version +/ceph-conf +/ceph-debugpack +/cephfs +/ceph-coverage +/dumpjournal +/init-ceph +/librados-config +/rbd +/sample.fetch_config + +Makefile + +/gtest/build-aux/config.h +/gtest/build-aux/config.h.in +/gtest/lib/ +/gtest/scripts/gtest-config +/gtest/src/.dirstamp +/gtest/Makefile.in +/gtest/aclocal.m4 +/gtest/configure +/gtest/fused-src/ +/unittest_* +/ceph.conf +/keyring +/massif.out.* +ceph_psim +ceph_radosacl +ceph_rgw_jsonparser +ceph_rgw_multiparser +ceph_streamtest +ceph_test_ioctls +ceph_test_cfuse_cache_invalidate +ceph_test_cls_lock +ceph_test_cls_rbd +ceph_test_cls_refcount +ceph_test_cls_rgw +ceph_test_crypto +ceph_test_filejournal +ceph_test_filestore +ceph_test_filestore_idempotent +ceph_test_filestore_idempotent_sequence +ceph_test_filestore_workloadgen +ceph_test_keys +ceph_test_keyvaluedb_atomicity +ceph_test_keyvaluedb_iterators +ceph_test_libcephfs +ceph_test_libhadoopcephfs_build +ceph_test_librbd +ceph_test_librbd_fsx +ceph_test_mon_workloadgen +ceph_test_mutate +ceph_test_object_map +ceph_test_objectcacher_stress +ceph_test_rados +ceph_test_rados_api_aio +ceph_test_rados_api_cls +ceph_test_rados_api_io +ceph_test_rados_api_list +ceph_test_rados_api_misc +ceph_test_rados_api_pool +ceph_test_rados_api_snapshots +ceph_test_rados_api_stat +ceph_test_rados_api_watch_notify +ceph_test_rados_delete_pools_parallel +ceph_test_rados_list_parallel +ceph_test_rados_open_pools_parallel +ceph_test_rados_watch_notify +ceph_test_rewrite_latency +ceph_test_signal_handlers +ceph_test_stress_watch +ceph_test_timers +ceph_test_trans +ceph_tpbench +ceph_xattr_bench +ceph_scratchtool +ceph_scratchtoolpp +ceph_filestore_dump +ceph_smalliobench +ceph_smalliobenchdumb +ceph_smalliobenchfs +ceph_smalliobenchrbdsrc/gtest/.gitignore new file +2
-0@@ -0,0 +1,2 @@ +fused-src +scripts/gtest-config
Re: [PATCH 2/3] .gitignore: cleanup and sort entries
Thanks for the comments,
I will send an updated version of this patch with extra local handling of Makefiles and where it makes sense also for some other files.
Danny
Am 06.02.2013 10:14, schrieb Josh Durgin:
Quoted 28 lines
I like the cleanup in general, but non-generic entries should have a leading /, otherwise they match files with the same name in subdirectories as well.
For example, putting
Makefilein .gitignore will also ignore static makefiles in the qa subdirectories. Some of the existing entries are already missing this leading /.Quoted 11 lines · Danny Al-Gaaf
Cleanup old entries and sort the existing entries. Remove no longer existing entries/files. Move src/* entries from top level .gitignore to the correct subdir .gitignore file.
Signed-off-by Danny Al-Gaaf <[email protected]>--- .gitignore | 78 ++++++++++------------- doc/.gitignore | 3 +- src/.gitignore | 173 +++++++++++++-------------------------------------- src/.gitignore.orig | 142 ++++++++++++++++++++++++++++++++++++++++++No need for this file
Quoted 5 lines
src/gtest/.gitignore | 2 + 5 files changed, 221 insertions(+), 177 deletions(-)create mode 100644 src/.gitignore.orig
create mode 100644 src/gtest/.gitignore
PATCH 3/3 ceph-test.install: updated filelist
In reply to Danny Al-GaafDon't install rest-bench twice, it's already part of the rest-bench package.
Add some files which are part of the ceph-test package on RPM based distributions already: ceph_test_mon_workloadgen, ceph_rgw_jsonparser, ceph_test_objectcacher_stress.
--- debian/ceph-test.install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
debian/ceph-test.install +3 -1
@@ -5,8 +5,8 @@ usr/bin/ceph_multi_stress_watch usr/bin/ceph_omapbench usr/bin/ceph_psim usr/bin/ceph_radosacl -usr/bin/ceph_rest-bench usr/bin/ceph_rgw_multiparser +usr/bin/ceph_rgw_jsonparser usr/bin/ceph_scratchtool usr/bin/ceph_scratchtoolpp usr/bin/ceph_smalliobench
@@ -31,8 +31,10 @@ usr/bin/ceph_test_keyvaluedb_iterators usr/bin/ceph_test_libcephfs usr/bin/ceph_test_librbd usr/bin/ceph_test_librbd_fsx +usr/bin/ceph_test_mon_workloadgen usr/bin/ceph_test_mutate usr/bin/ceph_test_object_map +usr/bin/ceph_test_objectcacher_stress usr/bin/ceph_test_rados_api_aio usr/bin/ceph_test_rados_api_cls usr/bin/ceph_test_rados_api_io
Signature · 1 line
1.8.1.2
Re: [PATCH 3/3] ceph-test.install: updated filelist
This one looks good independent of the renaming.
Quoted 37 lines · Danny Al-Gaaf
Don't install rest-bench twice, it's already part of the rest-bench package.
Add some files which are part of the ceph-test package on RPM based distributions already:
ceph_test_mon_workloadgen,ceph_rgw_jsonparser,ceph_test_objectcacher_stress.Signed-off-by Danny Al-Gaaf <[email protected]>--- debian/ceph-test.install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)debian/ceph-test.install +3
-1@@ -5,8 +5,8 @@ usr/bin/ceph_multi_stress_watch usr/bin/ceph_omapbench usr/bin/ceph_psim usr/bin/ceph_radosacl -usr/bin/ceph_rest-bench usr/bin/ceph_rgw_multiparser +usr/bin/ceph_rgw_jsonparser usr/bin/ceph_scratchtool usr/bin/ceph_scratchtoolpp usr/bin/ceph_smalliobench@@ -31,8 +31,10 @@ usr/bin/ceph_test_keyvaluedb_iterators usr/bin/ceph_test_libcephfs usr/bin/ceph_test_librbd usr/bin/ceph_test_librbd_fsx +usr/bin/ceph_test_mon_workloadgen usr/bin/ceph_test_mutate usr/bin/ceph_test_object_map +usr/bin/ceph_test_objectcacher_stress usr/bin/ceph_test_rados_api_aio usr/bin/ceph_test_rados_api_cls usr/bin/ceph_test_rados_api_io
Hi,
any comments on these patches?
Danny
Am 04.02.2013 18:22, schrieb Danny Al-Gaaf:
Quoted 51 lines
The ceph-test package contains files which are installed to
/usr/bin, but these files have names which don't give any hint that they are part of ceph.Rename the files of the ceph-test package to indicate they belong to ceph. Prefix them with "
ceph_". Update packaging files like RPM spec and debian files. Add some files which are present in ceph-test of the RPM spec file but not in ceph-test.install.I hope I didn't oversee any reference/call of the changed files. If the change gets accepted maybe some other tools outside this git tree needs to be updated. Let me know which projects I need to update.
Update and cleanup .gitignore files.
Danny Al-Gaaf (3):
ceph-test: give binaries from ceph-test package useful names .gitignore: cleanup and sort entries ceph-test.install: updated filelist.gitignore | 77 ++-- ceph.spec.in | 122 +++---- debian/ceph-test.install | 120 +++---- doc/.gitignore | 3 +- qa/workunits/cls/test_cls_lock.sh | 2 +- qa/workunits/cls/test_cls_rbd.sh | 2 +- qa/workunits/cls/test_cls_refcount.sh | 2 +- qa/workunits/cls/test_cls_rgw.sh | 2 +- qa/workunits/libcephfs/test.sh | 2 +- qa/workunits/mon/workloadgen.sh | 4 +- qa/workunits/osdc/stress_objectcacher.sh | 2 +- qa/workunits/rados/stress_watch.sh | 2 +- qa/workunits/rados/test.sh | 24 +- qa/workunits/rbd/smalliobench.sh | 2 +- qa/workunits/rbd/test_librbd.sh | 2 +- src/.gitignore | 173 +++------ src/.gitignore.orig | 142 ++++++++ src/Makefile.am | 586 +++++++++++++++---------------- src/client/test_ioctls.c | 2 +- src/dupstore.cc | 2 +- src/gtest/.gitignore | 2 + src/psim.cc | 2 +- src/test/filestore/TestFileStoreState.cc | 2 +- src/test/filestore/run_seed_to.sh | 10 +- src/test/run-rbd-tests | 8 +- src/test/test_filejournal.cc | 2 +- src/test/test_mutate.cc | 2 +- 27 files changed, 685 insertions(+), 616 deletions(-) create mode 100644 src/.gitignore.orig create mode 100644 src/gtest/.gitignore