Sage Weil
c95e91ef1a
os/KeyValueStore: clean up operator<< for KVSuperBlock
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-01 19:24:26 -07:00
Sage Weil
e408f98d89
Merge pull request #2174 from yuyuyu101/kvstore-superblock
...
Kvstore superblock
Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-01 19:23:35 -07:00
Sage Weil
3a05ff9257
Merge pull request #2169 from ceph/wip-double-pc
...
mon: s/%%/%/
Realized where these came from; it was an accident.
2014-08-01 18:01:43 -07:00
Sage Weil
79d1aff182
Merge branch 'wip-cache-second'
...
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-08-01 15:37:33 -07:00
Signed-off-by: Zhiqiang Wang
1417eded65
ceph_test_rados_api_tier: test promote-on-second-read behavior
...
Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-01 15:37:22 -07:00
Zhiqiang Wang
0ed3adc1e0
osd: promotion on 2nd read for cache tiering
...
Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
2014-08-01 15:37:22 -07:00
Samuel Just
52c2182fe8
Merge pull request #2183 from majianpeng/master
...
ECBackend: Using ROUND_UP_TO to refactor function get_recovery_chunk_size()
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-08-01 13:31:08 -07:00
Samuel Just
dad092c6e5
Merge pull request #2175 from majianpeng/fix1
...
ReplicatedPG: For async-read, set the real result after completing read.
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-08-01 13:30:04 -07:00
Sage Weil
f752ff49fe
Merge pull request #2180 from ceph/wip-ec-isa
...
osd: add support for intel ISA-L EC library
2014-08-01 10:00:23 -07:00
Samuel Just
f335c73b12
Merge pull request #2172 from ceph/wip-8714
...
osd: prevent old clients from using tiered pools
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-08-01 09:57:24 -07:00
Sage Weil
cd64a63db0
Merge remote-tracking branch 'gh/next'
2014-08-01 07:08:28 -07:00
Gregory Farnum
a00777f428
Merge pull request #2190 from ceph/wip-osd-leaks
...
osd: do not leak Session* ref in _send_boot()
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-08-01 10:08:16 -04:00
Gregory Farnum
fc2d18bb1e
Merge pull request #2182 from ceph/wip-round
...
use llrintl when converting double to micro
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-08-01 08:11:08 -04:00
Zhiqiang Wang
13b9dc7084
osd: add local_mtime to struct object_info_t
...
This fixes a bug when the time of the OSDs and clients are not
synchronized (especially when client is ahead of OSD), and the cache
tier dirty ratio reaches the threshold, the agent skips the flush work
because it thinks the object is too young.
Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
2014-08-01 16:09:50 +08:00
Sage Weil
c2fc1a9429
Merge branch 'wip-rocksdb'
2014-07-31 21:11:44 -07:00
Sage Weil
57fd60cdd2
rocksdb: -Wno-portability
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:25 -07:00
Sage Weil
c574e653e4
autogen.sh: debug with -x
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:25 -07:00
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