Sage Weil
213e0acf7e
debian, rpm: build rocksdb statically if we can
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:25 -07:00
Sage Weil
a497a3b42e
debian, rpm: build require bzip2 dev
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
da5edb8161
add rocksdb bz2 dep
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
8fcbb65901
configure: enable static rocksdb if check and c++11
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
7500b890fa
Makefile: include rocksdb in dist tarball always
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
5502dd3e0f
configure: verify c++11 is present for rocksdb
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
33293523da
rocksdb: require less shiny autoconf
...
precise has 2.59
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
bcebf9c0ab
do_autogen.sh: build with static librocksdb
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Josh Durgin
eb1cd7801e
rocksdb: update submodule makefile
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-07-31 21:11:24 -07:00
Sage Weil
2e549b4f8e
unittest_erasure_code_[plugin_]isa: conditionally compile
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:06:08 -07:00
Sage Weil
04037ef9dd
osd: do not leak Session* ref in _send_boot()
...
The get_priv() call returns a ref; make sure we drop it if it exists.
This doesn't happen on every run because usually it is NULL and we take
the other path; it's only after the OSD has been marked down that we reach
the second path.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 20:59:49 -07:00
Yehuda Sadeh
9b05a87ec9
Merge pull request #2157 from ceph/wip-8937
...
rgw: call processor->handle_data() again if needed
Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-31 18:11:12 -07:00
Sage Weil
d00f23be32
erasure-code/isa: fix signed/unsigned comparison
...
warning: erasure-code/isa/ErasureCodeIsa.cc:313: comparison between signed and unsigned integer expressions
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 17:46:32 -07:00
Sage Weil
8a193ab033
erasure-code/isa: don't use typename outside of template
...
error: erasure-code/isa/ErasureCodeIsa.h:141: using 'typename' outside of template
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 17:45:49 -07:00
Ma Jianpeng
92d0bbe1cb
ECBackend: Using ROUND_UP_TO to refactor function get_recovery_chunk_size()
...
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
2014-08-01 08:32:23 +08:00
Ma Jianpeng
e4ed2cb266
ReplicatedPG: For async-read, set the real result after completing read.
...
When reading an object from replicated pool, ceph uses sync mode,
so it can set the results in execute_ctx correctly.
However, For the async-read in EC Pool, current code didn't set the
real results after read in complete_read_ctx.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
2014-08-01 08:25:03 +08:00
Sage Weil
6e52efabc2
doc/release-notes: tweak quoting
...
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/release-notes.rst:22: Unknown target name: "leveldb".
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 16:19:47 -07:00
Sage Weil
80911736bd
use llrintl when converting double to micro
...
This avoids rounding error (noticeable on i386).
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 15:39:40 -07:00
Sage Weil
d8b291f30d
configure: check for 'better' yasm that can build ISA-L
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 15:18:51 -07:00
Sage Weil
1520b47187
erasure-code/isa/Makefile: add missing \, and missing headers
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 13:43:06 -07:00
Sage Weil
e1f32d9f7f
yasm-wrapper: fix -f ...
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 13:43:03 -07:00
Sage Weil
1670fd63fd
yasm-wrapper: turn -I foo into -i foo
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 13:42:58 -07:00
Sage Weil
6d95797cef
yasm-wrapper: echo original args
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 13:41:41 -07:00
Andreas-Joachim Peters
b7d0017d23
EC: add plugin for Intel ISA-L library
2014-07-31 11:40:17 -07:00
Samuel Just
fe99b25317
Merge pull request #2179 from ceph/wip-8982
...
osd: fix cache pools without hit_sets configured
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-07-31 11:28:04 -07:00
Sage Weil
383536a2ef
mon/OSDMonitor: warn when cache pools do not have hit_sets configured
...
Give users a clue when cache pools are enabled but the hit_set is not
configured. Note that technically this will work, but not well, so for
now let's just steer them away.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 11:03:19 -07:00
Sage Weil
caf554bf2f
osd/ReplicatedPG: improve agent_choose_mode args
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 11:03:19 -07:00
Sage Weil
ce4e559d29
vstart.sh: limit open files
...
Most users only get 1024 fds.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 11:03:19 -07:00
Sage Weil
ea4996d3ef
osd/ReplicatedPG: evict blindly if there is no hit_set
...
If there is no hit set for a PG, blindly evict objects. This avoids an
assert(hit_set) in agent_estimate_atime_temp().
Fixes : #8982
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 11:03:18 -07:00
Sage Weil
5d1c76f641
osd/ReplicatedPG: check agent_mode if agent is enabled but hit_sets aren't
...
It is probably not a good idea to try to run the tiering agent without a
hit_set to inform its actions, but it is technically possible. For
example, one could simply blindly evict when we reach the full point.
However, this doesn't work because the agent mode is guarded by a hit_set
check, even though agent_setup() is not. Fix that.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 11:03:18 -07:00
Josh Durgin
f77449cb4b
Merge pull request #2168 from ceph/wip-8972
...
cls_rgw: fix object name of objects removed on object creation
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-07-31 09:55:31 -07:00
Gregory Farnum
f3d1f396f9
Merge pull request #2173 from ceph/wip-8969
...
fix i386 atomics
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-07-31 08:59:00 -04:00
Loic Dachary
70fede9254
Merge pull request #1990 from dachary/wip-erasure-code-profile-default
...
erasure-code: create default profile if necessary
Reviewed-by: Joao Eduardo Luis <jluis@redhat.com>
2014-07-31 18:01:32 +05:45
Sage Weil
5c6a051220
Merge pull request #2162 from ceph/wip-8586
...
rgw: fix crash in swift CORS preflight request
Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-30 20:57:06 -07:00
Haomai Wang
51c1f2a8ea
FileStore: Add omap_backend to "<<" operator
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-07-31 10:14:27 +08:00
Haomai Wang
7faed14862
Add superblock to KeyValueStore
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-07-31 10:13:31 +08:00
Haomai Wang
b879e7460c
KeyValueStore: use generic KeyValueDB::create()
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-07-31 09:51:40 +08:00
Sage Weil
9df9d28009
mon/OSDMonitor: fix i386 floating point rounding error
...
This would round .123 to .122999 on i386; now it does not.
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 17:50:39 -07:00
Josh Durgin
9eda0bbe1c
Merge pull request #2171 from ceph/wip-cli-integration
...
fix rbd cli-integratoin tests
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-07-30 16:57:38 -07:00
Sage Weil
02dd04ace5
Merge pull request #2164 from ceph/wip-8944
...
ceph.in: Pass global args to ceph-conf for proper lookup
Backport: firefly
Reviewed-by: Sage Weil <sage@redhat.com>
2014-07-30 14:56:34 -07:00
Dan Mick
aa9ae1f270
qa/workunits/cephtool/test_daemon.sh: verify ceph -c works with daemon
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-07-30 14:52:48 -07:00
Dan Mick
22d20f39b7
qa/workunits/cephtool/test_daemon.sh: typo
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-07-30 14:52:48 -07:00
Dan Mick
97a8d5a9fd
qa/workunits/cephtool/test_daemon.sh: allow local ceph command
2014-07-30 14:52:44 -07:00
Sage Weil
96863128e6
atomic: fix read() on i386, clean up types
...
Among other things, fixes #8969
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 14:52:06 -07:00
Dan Mick
6d89a99648
ceph.in: Pass global args to ceph-conf for proper lookup
...
Fixes : #8944
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-07-30 14:51:31 -07:00
Sage Weil
0190df5305
osd: prevent old clients from using tiered pools
...
If the client is old and doesn't understand tiering, don't let them use a
tiered pool. Reply with EOPNOTSUPP.
Fixes : #8714
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 13:57:34 -07:00
Sage Weil
605064dc68
test/cli-integration/rbd: fix trailing space
...
Newer versions of json.tool remove the trailing ' ' after the comma. Add
it back in with sed so that the .t works on both old and new versions, and
so that we don't have to remove the trailing spaces from all of the test
cases.
Backport: firefly
Fixes : #8920
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 13:41:16 -07:00
Sage Weil
d700076a42
mon: s/%%/%/
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 12:26:44 -07:00
Sage Weil
bf232ba867
Merge pull request #2163 from ceph/wip-filestore-omap
...
clean up KeyValueDB instantiation
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-07-30 12:07:35 -07:00
Yehuda Sadeh
0f8929a68a
cls_rgw: fix object name of objects removed on object creation
...
Fixes : #8972
Backport: firefly, dumpling
Reported-by: Patrycja Szabłowska <szablowska.patrycja@gmail.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-07-30 11:53:16 -07:00