Commit Graph

44504 Commits

Author SHA1 Message Date
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
Loic Dachary
50bc48b141 tests: ceph-erasure-code-corpus must test SIMD variants
ceph_erasure_code.cc and ceph_erasure_code_benchmark.cc failed to load
the plugins. It went unnoticed when
660ae5bcbb was reviewed because

  * ceph_erasure_code_benchmark is not used in make check
  * qa/workunits/erasure-code/encode-decode-non-regression.sh silently
    interpreted the failure as the absence of SIMD variants

http://tracker.ceph.com/issues/12933 Fixes: #12933

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-03 20:55:35 +02:00
Nathan Cutler
ef7418421b ceph.spec.in: fix License line
This is closer to my reading of
https://github.com/ceph/ceph/blob/master/COPYING than the previous version.

http://tracker.ceph.com/issues/12935 Fixes: #12935

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 20:35:05 +02: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
Nathan Cutler
e54f89677d ceph.spec.in: drop redundant centos from conditionals
Since the %{rhel} macro is guaranteed to be defined on all CentOS
installations, the %{centos} macro is superfluous.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 16:32:08 +02:00
Nathan Cutler
75f2a98321 ceph.spec.in: clean up suse_version conditionals
Use 0%{?suse_version} throughout for consistency.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 16:32:04 +02:00
Nathan Cutler
929ca5b6ad ceph.spec.in: drop lsb-release dependency from ceph-common
It was there as an equivalent of redhat-lsb-core, but the redhat-lsb-core bits
that ceph-common relies on are included in insserv-compat on SUSE, and
insserv-compat is in base.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-03 16:16:30 +02:00
huangjun
557e581a4e mon/MonClient: fix error in 'ceph ping mon.id'
Fixes: #12442

  Signed-off-by: huangjun <hjwsm1989@gmail.com>
2015-09-03 19:10:03 +08: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
Vikhyat Umrao
f65267c96c rgw : setting max number of buckets for users via ceph.conf option
This patch adds a new option "rgw_user_max_buckets" for setting
max number of buckets for users via ceph.conf.

Fixes #12714

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-09-03 12:05:54 +05:30
Sage Weil
64962aafed qa/workunits/rados/test_alloc_hint.sh: sudo to list files
The osd data dir is owned by ceph and not readable by other
non-root users.

Fixes: #12861
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-02 21:58:37 -04: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
David Zafman
65dcc2da76 osd: When generating past intervals due to an import end at pg epoch
Add assert() to make sure same_interval_since isn't too far forward

Fixes: #12387

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-09-02 12:40:07 -07:00
Guang G Yang
cabfe13781 osd: check the length of the map before accessing the first element
Signed-off-by: Guang Yang yguang@yahoo-inc.com
2015-09-02 10:04:30 -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
Jason Dillaman
ddca321018 rbd: add verbose error reporting to merge-diff tool
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-09-02 10:47:56 -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
Kefu Chai
c938d1f95e rocksdb: fix 32-bit build
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 21:01:57 +08:00
Haomai Wang
9cc1055eb6 AsyncConnection: Close connection when unregistered connection met WAIT
Fix #12912
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-09-02 19:07:13 +08: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
Kefu Chai
67f5f52177 memstore: fix the build on i386
on i386, uint64 is `unsigned long long`, while size_t is `unsigned int`.
std::min(uint64, size_t) can not be resolved.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-02 17:23:22 +08: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
Haomai Wang
b02cc060eb AsyncConnection: Don't use unsafe feature as message encode feature
Fix #12908
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-09-02 11:45:52 +08: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