Brad Hubbard
370e4a71a2
doc: remove duplicate word in Motivation section.
...
Remove to\nto typo in doc/dev/osd_internals/erasure_coding/pgbackend.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-10 11:51:49 +10:00
Sage Weil
dc6d90cc08
Merge pull request #5517 from tchaikov/wip-cmake-remove-flat-index
...
cmake: remove Flat_index stuff
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-09 07:47:52 -04:00
Sage Weil
a85b921c39
Merge pull request #5515 from ceph/wip-make-check-fixes
...
several fixes for make check
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-08-09 07:45:15 -04:00
Sage Weil
6dd143d821
Merge pull request #4683 from ceph/wip-siddharth-security-fixes
...
Enable security hardening flags globally
Testedj-by: Kefu Chai <kchai@redhat.com>
2015-08-09 07:44:14 -04:00
Kefu Chai
140450209d
cmake: remove Flat_index stuff
...
the Flat_index stuff was removed in 5df688a
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-09 16:28:45 +08:00
Orit Wasserman
c74461e97e
Merge pull request #5504 from tchaikov/wip-check-good-yasm
...
cmake: check for good yasm
2015-08-08 17:40:55 +02:00
Siddharth Sharma
2c6acfc9cb
Removing unwanted -fPIC in cflags
2015-08-08 23:21:31 +08:00
Siddharth Sharma
e5569d4cd0
Removing unwanted -grecord-gcc-switches , relro in cflags and adding -fPIC
2015-08-08 23:21:31 +08:00
Siddharth Sharma
8f06d3eeb6
Enable security hardening flags globally
2015-08-08 23:21:31 +08:00
Kefu Chai
1b94f1c9bf
Merge pull request #5293 from majianpeng/oprequest-markevent
...
osd: Oprequest markevent
Reviewed-by: Huang Jun <hjwsm1989@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-08 21:42:56 +08:00
Kefu Chai
67b001d8db
Merge pull request #5267 from dachary/wip-12356-rados-osds-out-in
...
tests: test-erasure-code.sh/rados_osds_out_in must wait_for_clean
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 20:38:14 +08:00
Kefu Chai
e04f324b3c
Merge pull request #4909 from zhouyuan/rgw_doc_bucket_index
...
doc: update rgw configuration doc on bucket index sharing feature
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 20:27:51 +08:00
Sage Weil
6b97addce7
test/encoding/check-generated: make error msg cut and pasteable
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:45:52 -04:00
Sage Weil
34c048b3cb
osd/HitSet: make subclasses dump deterministically
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:45:52 -04:00
Sage Weil
d372718570
osd/HitSet: mark subclasses that encode nondeterministically
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:45:52 -04:00
Sage Weil
3df6438cd2
mon/PGMap: dump osd_epochs in deterministic order
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:36:20 -04:00
Sage Weil
62f94221c5
test/encoding/check-generated: skip some tests if non-determinstic encoding
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:14 -04:00
Sage Weil
2bcab0319b
ceph-dencoder: add 'is_deterministic' command
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:12 -04:00
Sage Weil
9ea05223d1
ceph-dencoder: clean up macro name
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:09 -04:00
Sage Weil
aaa5b75440
ceph-dencoder: mark PGMap with nondeterministic encoding
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:03 -04:00
Sage Weil
82533aa4c4
test/encoding: c++11 STL appears to make fewer copies, yay
...
The failure was
test/encoding.cc:191: Failure
Value of: 10
Expected: my_key_t::get_copy_ctor()
Which is: 5
test/encoding.cc:196: Failure
Value of: 10
Expected: my_val_t::get_copy_ctor()
Which is: 5
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:29:43 -04:00
Kefu Chai
e06046c3d9
cmake: check for good yasm
...
this enables faster crc32 calculation on x64 intel platforms,
see common/crc32c_intel_fast.c
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-08 12:49:50 +08:00
Kefu Chai
281d45d2ad
Merge pull request #5500 from oritwas/wip-cmake-isa
...
cmake: check for better yasm and fix isa
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 12:23:23 +08:00
Sage Weil
016a5d5db4
mon/PGMap: make PGMap dump osd_epochs too
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 18:14:41 -04:00
Orit Wasserman
3092a18f6a
cmake: check for better yasm and fix isa
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-08-07 22:02:43 +02:00
Sage Weil
dcd6e96495
ceph-object-corpus: do not try to decode pre-hammer ObjectStore::Transactions
...
We don't understand collection_attr any more.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 15:32:44 -04:00
Sage Weil
22e367b478
Merge pull request #5510 from yuyuyu101/fix-async-fix-22
...
AsyncConnection: Fix wrong order of local message delivering
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-07 14:17:01 -04:00
Sage Weil
49aec61f6a
Merge pull request #5512 from ddiss/rbd_initrd_no_tr
...
rbdnamer: drop unneccessary tr usage
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-07 13:49:45 -04:00
David Disseldorp
b98b104829
rbdnamer: drop unneccessary tr usage
...
tr is not present by default in Dracut generated initramfs images. The
same logic can anyhow be performed via the existing sed call.
Signed-off-by: David Disseldorp <ddiss@suse.de>
2015-08-07 19:41:14 +02:00
Sage Weil
144792efe0
Merge pull request #5310 from ceph/wip-pipefd-leak
...
Wip pipefd leak
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-08-07 12:59:39 -04:00
Samuel Just
180a500a7f
Merge pull request #5511 from ceph/wip-cxx11
...
c++11 ftw
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-07 08:56:38 -07:00
Casey Bodley
3260adf146
c++11: xlist needs a value_type for back_inserter
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-07 11:42:59 -04:00
Casey Bodley
511106e353
c++11: fix shared_ptr conversions to bool
...
operator bool() is marked as explicit, which prevents it from being used
directly in gtest macros
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-07 11:42:58 -04:00
Casey Bodley
3a6808049a
c++11: remove hash_namespace.h and default to std
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-07 11:42:58 -04:00
Casey Bodley
f4d2032ce1
c++11: disambiguate std::isnan
...
c++11's isnan() is a constexpr function, while c's is a macro
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-07 11:42:58 -04:00
Casey Bodley
11a5d29299
c++11: fixes for preprocessor string concatenation
...
c++11 adds user-defined literals through type suffixes. for example,
"foo"s is a literal of type std::basic_string. this means that any
non-whitespace characters following a string literal will be interpreted
as a suffix. this causes issues with string concatenation done by the
preprocessor, which can only be resolved by adding whitespace
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-07 11:42:58 -04:00
Casey Bodley
f7c478c6d9
c++11: replace boost::assign with initializer list
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-07 11:42:46 -04:00
Samuel Just
ec619c7d86
Merge pull request #4832 from ceph/wip-11511
...
osd: Even in objects_read_sync() case don't read past oi.size
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-08-07 08:38:48 -07:00
Haomai Wang
9cdc3278f4
AsyncConnection: Fix wrong order of local message delivering
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-08-07 23:13:30 +08:00
Sage Weil
7811c776c5
Merge pull request #5331 from liewegas/wip-collection-list
...
os: clean up collection_list
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-08-07 10:15:10 -04:00
Sage Weil
1beab53c08
Merge pull request #5271 from wonzhq/cache-rate
...
mon: add cache tier IO rate in the 'osd pool stats' command
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-07 09:35:27 -04:00
Sage Weil
2a7605380c
Merge pull request #5507 from athanatos/wip-12436
...
blkdev.cc::get_device_by_uuid: do not leak cache
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-07 08:55:57 -04:00
Sage Weil
01d3aa7ce2
Merge pull request #5506 from athanatos/wip-12338
...
OSD: break connection->session->waiting message->connection cycle
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-07 08:55:25 -04:00
Sage Weil
654c16ed2e
os/ObjectStore: drop get_ideal_list_min()
...
Unused. Fix comment on get_ideal_list_max while we are here.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 08:45:34 -04:00
Sage Weil
cdb1fc011a
os: drop snapid_t arg to collection_list
...
All this does is filter out objects with old snapids, but this can be
just as easily done in the one caller that specifies a non-zero value
(PGLS and PGNLS), which in fact already do that filtering.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 08:45:34 -04:00
Sage Weil
e46a855e5f
s/collection_list_impl/collection_list/
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 08:45:34 -04:00
Xiaoxi Chen
7ee3eeffa6
Kill collection_list in CollectionIndex
...
Now we use CollectionIndex.collection_list_partial.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:34 -04:00
Xiaoxi Chen
5df688a5df
Kill Flat_index.
...
Too old, remove it entirely.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:33 -04:00
Xiaoxi Chen
c5dc4047e2
Kill collection_list
...
use collection_list_impl as well.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:32 -04:00
Xiaoxi Chen
2d5ed30f02
Kill collection_list_partial
...
Use collection_list_impl directly.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-08-07 08:45:14 -04:00