Commit Graph

44333 Commits

Author SHA1 Message Date
Loic Dachary
1369fc3740 Merge pull request #5804 from tchaikov/wip-fix-build-boost-1.59
mon: fix the build with boost 1.59

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-04 11:19:22 +02:00
Loic Dachary
f1931648b2 Merge pull request #5802 from liewegas/wip-coverity
a few coverity fixes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-04 09:18:35 +02:00
Kefu Chai
3dc29de56c mon: fix the build with boost 1.59
cmd_vartype is a
boost::variant<std::string, bool, int64_t, double,
               std::vector<std::string>>, so we can not get a
int8_t from it.

Fixes: #12922
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-04 11:36:25 +08:00
Sage Weil
f6f442d4da osd/ReplicatedPG: ProxyWriteOp::reqid should not be a ref
CID 1322778 (#1 of 1): Pointer to local outside scope (RETURN_LOCAL)
1. escape_local_addr: Returning, through this->reqid, the address of stack variable _reqid.
   	2. return: Returning here.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 22:01:19 -04:00
Sage Weil
15fa138251 osd/osd_types: init coll_t::removal_seq in all ctors
CID 1322784 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value coll.removal_seq when calling coll_t. [show details]

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 21:59:00 -04:00
Sage Weil
c3d379429e test_cls_numops: fix iterator use
CID 1322828 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
28. use_after_free: Using invalidated internal representation of local it.
CID 1322827 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
25. use_after_free: Using invalidated internal representation of local it.
CID 1322826 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
31. use_after_free: Using invalidated internal representation of local it.
CID 1322825 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
31. use_after_free: Using invalidated internal representation of local it.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 21:57:56 -04:00
Sage Weil
2d1d2efb1b debian: package radosgw-object-expirer in radosgw deb
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 18:41:52 -04:00
Sage Weil
fbf4e6bebf ceph.spec: package new rgw files
/usr/bin/radosgw-object-expirer
   /usr/lib64/rados-classes/libcls_timeindex.so

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 18:41:26 -04:00
Sage Weil
d65372162b Merge pull request #5799 from liewegas/wip-cmake
cmake: fix build (newstore issues)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2015-09-03 15:44:43 -04:00
Sage Weil
6d459c0244 CMakeLists.txt: add newstore files
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 15:27:45 -04:00
Sage Weil
86da373523 .gitignore: ignore build (usually used by cmake)
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 15:27:34 -04:00
Sage Weil
038e91b15d Merge remote-tracking branch 'gh/master' into infernalis 2015-09-03 15:15:01 -04:00
Sage Weil
64a0f0c014 rgw/Makefile.am: ship rgw_object_expirer_core.h
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 15:13:53 -04:00
Sage Weil
030b3edeac Merge pull request #5744 from ceph/wip-12909
cmake: update FUSE_INCLUDE_DIRS to match autoconf
2015-09-03 15:09:49 -04:00
Sage Weil
dffb1b0497 Merge pull request #5610 from ceph/wip-cmake
cmake: make check
2015-09-03 15:08:36 -04:00
Sage Weil
df44a57949 ceph.spec: build requires cmake
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 15:01:53 -04:00
Sage Weil
322ad808cd debian/control: build requires cmake
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 15:01:34 -04:00
Sage Weil
f69498f320 debian/control: build-requires libboost-regex-dev
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-03 14:59:37 -04:00
Yehuda Sadeh
ef8abeb048 Merge pull request #5692 from ceph/wip-rgw-swift-expiration
Wip rgw swift expiration

Reviewed-by:  Radoslaw Zarzynski <rzarzynski@mirantis.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-03 10:23:00 -07:00
Matt Benjamin
fab0a3b808 cmake: install crushtool to destdir/bin
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2015-09-03 11:48:26 -04:00
Casey Bodley
4cea74a7ce cmake: add blkid as dependency to libcommon
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-09-03 11:39:19 -04:00
Ali Maredia
57b47b49a5 cmake: Changed name of crc32 target to crc32c
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
18d619646f cmake: Added shell script tests
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
55b7c86c48 cmake: Fixed HAVE_BETTER_YASM_ELF64 variable
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
74a9a0366b cmake: Removed trailing spaces from isa .s files
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
1397f6602b cmake: Uncommented erasure-code/shec conditional
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
283e81c215 cmake: Removed traces of CDS, minor cmake fixes
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
66ea78a2da cmake: Fixed rbd_replay build issue
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:31 -04:00
Ali Maredia
5268b3d79a cmake: Removed scripts, check_PROGRAMS included
Removed the unittest scripts for the time being.
Built unittests included in check_PROGRAMS target.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:30 -04:00
Ali Maredia
8ddca17fbf cmake: Cleaned up syntax for make check targets
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:30 -04:00
Ali Maredia
bf82c65e33 cmake: check_TESTPROGRAMS tests running
Make check working, accept rocksdb tests. Clean up coming.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:30 -04:00
Ali Maredia
6e7fafc9d2 README.md: Add basic CMake instructions
README.md: Fixed spacing, trimmed cmake section

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2015-09-03 11:37:30 -04:00
Sage Weil
b74fd6fc75 Merge pull request #5792 from ceph/wip-vstart-rgw
vstart: add -c argument to radosgw-admin commands

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-03 11:03:26 -04:00
Casey Bodley
d506bf1475 vstart: add -c argument to radosgw-admin commands
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-09-03 10:52:24 -04:00
John Spray
d8f21d88de Merge pull request #5590 from majianpeng/mds
Mds: add osdmap epoch for setxattr.

Reviewed-by: John Spray <john.spray@redhat.com>
2015-09-03 10:35:06 +01:00
Yehuda Sadeh
3626db4f2f rgw: don't copy delete_at attr, unless it's intra region copy
We don't want to keep the expiration value of a copied object, unless
we're doing a copy within the same zone group.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-02 17:56:07 -07:00
Yehuda Sadeh
a69a989feb rgw: objexp shards index by key
Not by time. This should provide better concurrency.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-02 17:30:45 -07:00
Yehuda Sadeh
fa347d8f69 rgw: delete-at and delete-after also on obj put / copy
And potentially later we could use also the S3 api, so it
could work with multipart upload, and POST obj.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-02 17:30:44 -07:00
Sage Weil
8b6208377f Merge pull request #5775 from dachary/wip-do-autogen
tools: fix do_autogen.sh -R
2015-09-02 11:38:25 -04:00
Sage Weil
f161257a75 Merge pull request #5712 from yuyuyu101/wip-12801
Mon: Make ceph osd metadata support dump all osds

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-09-02 10:15:44 -04:00
Loic Dachary
6d80ff1354 tools: fix do_autogen.sh -R
The R letter was missing from the getopts flags. Also sort the flags
alphabetically to make it easier to spot that kind of lossage.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 16:03:15 +02:00
Loic Dachary
3b16b91612 Merge pull request #5752 from wonzhq/doc-write-recency
doc: add the doc for min_write_recency_for_promote

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 12:05:52 +02:00
Yan, Zheng
81f5b7a58c Merge pull request #5739 from ceph/wip-12776
mds: fix shutdown while in standby
2015-09-02 14:38:30 +08:00
Zhiqiang Wang
89aacaf699 doc: add the doc for min_write_recency_for_promote
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-09-02 14:00:40 +08:00
Loic Dachary
4ea3b1a4f0 Merge pull request #5736 from tianshan/wip-12864
rados: make 'rados bench' support json format output

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 07:19:19 +02:00
Loic Dachary
31d68f1278 Merge pull request #5748 from liewegas/wip-warnings
fix newstore warning

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-02 07:16:48 +02:00
Sage Weil
b199c492b0 ceph-osd-prestart.sh: fix osd data dir ownership check
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 21:51:47 -04:00
Haomai Wang
f6a458c56b Merge pull request #5749 from liewegas/wip-async-ms
msg/async: log tx/rx at level 1

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
2015-09-02 09:34:32 +08:00
Sage Weil
023c517509 vstart.sh: enable all experimental features for vstart
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 21:15:20 -04:00
Sage Weil
3a41ef4e32 ms/async: log message tx/rx at level 1
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-01 21:15:07 -04:00