Commit Graph

48803 Commits

Author SHA1 Message Date
Yann Dupont
467990a5b7 mailmap: Darrell Enns affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 22:00:10 +01:00
Yann Dupont
2a3ce4ef8e mailmap: Ilya Shipitsin affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 22:00:10 +01:00
Yann Dupont
b57a3ac17f mailmap: Li Tianqing affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 22:00:10 +01:00
Yann Dupont
eaf5bc7d99 mailmap: Yehua Chen affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 22:00:10 +01:00
Yann Dupont
ac61c11264 mailmap: Ren Huanwen affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 22:00:10 +01:00
Yann Dupont
20783f8315 mailmap: YiQiang Chen affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:46:51 +01:00
Yann Dupont
c423d5fc9d mailmap: Zhi Zhang affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:46:51 +01:00
Yann Dupont
f5bcdae817 mailmap: François Lafont affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:46:42 +01:00
Yann Dupont
10bb9a45ac mailmap: Liu Peiyan affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
638c636979 mailmap: Dunrong Huang affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
0fe937368b mailmap: Xie Xingguo affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
f960bcc4c1 mailmap: Song Baisen affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
c2e0b8f107 mailmap: Zhiqiang Wang affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
84f58b57d7 mailmap: Xiangwei Wu affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
fcd3bba641 mailmap: Adam C. Emerson affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:45:15 +01:00
Yann Dupont
b5d768864e mailmap: Cleanup.
Over time, some entries were unnecessarily complicated.

Entries were sometimes of the form :

Canonical name <canonical@email> first other name <other@mail1>
Canonical name <canonical@email> second other name <other@mail1>
Canonical name <canonical@email> OOops my mailer is wrongly configured <other@mail1>
...

This can be simplified like this :
Canonical name <canonical@email>
Canonical name <canonical@email> <other@mail1>

The added benefit is that we're now exempt of adding a line in .mailmap every time an author make a typo. That will save us time.

Also for name normalisation, a single entry Canonical name <complicated@email> is often enough.

Signed-off-by: Yann Dupont <yann@objoo.org>
2016-02-08 21:44:33 +01:00
Casey Bodley
4815a46615 Merge pull request #7572 from ceph/wip-cmake-2-8-16
cmake: Added new unittests to make check
2016-02-08 15:00:57 -05:00
Sage Weil
07dda1aaa3 Merge pull request #7574 from SUSE/wip-spec-license
ceph.spec.in: add license declaration

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-08 13:43:38 -05:00
Nathan Cutler
db9408bfdf ceph.spec.in: add license declaration
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-08 18:57:31 +01:00
Ali Maredia
51a15726fc cmake: Added new unittests to make check
Added unittest_shunique_lock & unittest_mutex_debug
to make check, and made them link ALLOC_LIBS

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-02-08 12:30:45 -05:00
Sage Weil
4235af3cf2 Merge pull request #7569 from SUSE/wip-copyright2
ceph.spec.in: add copyright notice

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-08 10:48:07 -05:00
Nathan Cutler
23ec516b0d ceph.spec.in: add copyright notice
http://tracker.ceph.com/issues/14694 Fixes: #14694

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-08 16:04:34 +01:00
Sage Weil
37b517ebfe os/bluestore/BlockDevice: std::atomic_int
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-08 09:53:19 -05:00
Sage Weil
434620bab9 os/bluestore/BlockDevice: use std::mutex and std::condition_variable
Pull aio wait code into an IOContext method too.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-08 09:53:19 -05:00
Sage Weil
3f66231edf Merge pull request #7513 from athanatos/wip-ceph-test-rados-2
ceph_test_rados: use less CPU
2016-02-08 09:23:56 -05:00
Sage Weil
6a8cafe198 Merge pull request #5931 from ceph/wip-cxx11concurrency
librados: move to c++11 concurrency types

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-02-08 09:23:15 -05:00
Piotr Dałek
7181a6f1b0 msg/simple: significantly reduce minimal memory usage of Pipes
Pipe class instance weights over 17 KB in size, and most of it is used by
msgvec structure, which weights 16 KB. Reduce it to 4KB by reducing
number of iovecs in this array down to 256 (= 1024/4). This won't cause
noticeable perf decrease, as even under extreme loads, we exceed 256 used
iovecs in only less than 1% of all write calls. For high-density nodes and
large clusters, savings will exceed hundreds of megabytes per node.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2016-02-08 15:18:39 +01:00
Piotr Dałek
69d98b6563 msg/async: significantly reduce minimal memory usage of AsyncConnections
AsyncConnection class instance weights over 18 KB in size, and most of it
is used by msgvec structure, which weights 16 KB. Reduce it to 4KB by reducing
number of iovecs in this array down to 256 (= 1024/4). This won't cause
noticeable perf decrease, as even under extreme loads, we exceed 256 used
iovecs in only less than 1% of all write calls. For high-density nodes and
large clusters, savings will exceed hundreds of megabytes per node.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2016-02-08 15:16:35 +01:00
Sage Weil
7e44299618 Merge branch 'print-blocked-op' of git://github.com/majianpeng/ceph
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-08 09:14:21 -05:00
Sage Weil
f17dbc65df Merge pull request #6608 from esnyder/wip-6634
osd: remove unused SnapContext member snapc from MOSDSubOp message

Reviewed-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-08 09:17:49 -05:00
Sage Weil
658780730a Merge branch 'master' of git://github.com/joconcepts/ceph
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-08 09:12:12 -05:00
Sage Weil
a981c1ecc2 Merge pull request #7181 from songbaisen/song5
crush: reply quickly from get_immediate_parent

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-02-08 09:16:14 -05:00
Sage Weil
20228cb0a2 Merge pull request #7437 from Ved-vampir/wip_zlib_plugin
common: add zlib compression plugin

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-08 09:15:04 -05:00
Sage Weil
34d33bcc5b Merge pull request #7527 from liewegas/wip-no-rgw-prestart
systemd/ceph-radosgw-prestart.sh: remove

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-02-08 09:13:38 -05:00
Igor Fedotov
12c083ed43 OSD/ReplicatedPG: Fixes unneccessary object promotion when deleting from the cache that lacks hit_set configured.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-02-08 15:39:09 +03:00
Haomai Wang
90561b466d Merge pull request #7547 from yuyuyu101/wip-14679
AsyncConnection: avoid debug log in cleanup_handler
2016-02-08 14:15:37 +08:00
Kefu Chai
3395fb9e06 crush/CrushTester: workaround a bug in boost::icl
the boost::icl in boost v1.55 has a bug when working with libc++,

> Assertion failed: (this->_map.find(inter_val) == this->_map.end()),
> function gap_insert, file
> /usr/local/include/boost/icl/interval_base_map.hpp, line 555.

see https://svn.boost.org/trac/boost/ticket/9501 and
    https://svn.boost.org/trac/boost/ticket/9987

the bug was fixed in boost v1.56. as a workaround we use the the
`set` from `boost::container` instead of the `std::set` from libc++.
we should drop this workaround once we bump the supported boost
version from 1.42 to 1.56.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-08 13:37:45 +08:00
Kefu Chai
d21724a145 Merge pull request #7554 from tchaikov/wip-ceph-disk-test
tests: ceph-disk.sh should compare with the resolved path

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-08 01:52:16 +08:00
Xinze Chi
990b437f4e OSDMap: reset osd_primary_affinity shared_ptr when deepish_copy_from
Base on current logic, OSDMonitor may call create_pending and
encode_pending twice for the some epoch.

In encode_pending:

tmp.deepish_copy_from(osdmap);
tmp.apply_incremental(pending_inc);

This Op would change the tmp osd_primary_affinity, but the osd_primary_affinity
is declared as ceph::shared_ptr, so this would change the osdmap too. When this
round encode_pending is proposed fail. We may call encode_pending again, but the
osdmap is changed last round, so the pending_inc would be wrong.

Fixes: #14686
Signed-off-by: Xinze Chi <xinze@xsky.com>
2016-02-07 22:19:35 +08:00
Sage Weil
e604d681a4 Merge pull request #7551 from JevonQ/update-libcephfs-version
libcephfs: update LIBCEPHFS_VERSION to indicate the interface was changed

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-07 09:01:04 -05:00
Kefu Chai
d267aaf8f3 tests: ceph-disk.sh should compare with the resolved path
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 04:39:24 -08:00
Jevon Qiao
4d3830225c libcephfs: Update LIBCEPHFS_VERSION to indicate the interface was changed
Signed-off-by: Jevon Qiao <scaleqiao@gmail.com>
2016-02-07 14:00:53 +08:00
Kefu Chai
c21de4d08a AsyncMessenger: remove unused variables
* remove AsyncMessenger::listen_sd
* remove `ee` in KqueueDriver::del_event()

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 02:37:46 +08:00
Kefu Chai
c45854a806 crypto: remove unused Digest::sec_type
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 01:59:47 +08:00
Kefu Chai
93ac31c7d0 journal: remove unused ObjectPlayer::m_fetch_interval
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 01:59:46 +08:00
Kefu Chai
2a53737054 librbd: remove unused C_DiffObject::m_request_num
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 01:59:46 +08:00
Kefu Chai
9c3f821936 librbd: replace atomic_t with std::atomic<int>
it fails to compile with clang, and turns out it should be
`ceph::atomic_t`, but I take this chance to replace it
with std::atomic<> to phase out atomic_t.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 01:59:46 +08:00
Kefu Chai
64361c3986 ECUtil: remove unused stripe_info_t::stripe_size
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 01:59:46 +08:00
Kefu Chai
7d08bbf595 osd: init HeartbeatDispatcher using OSD->cct
its base class 'Dispatcher' is uninitialized when used here to access
'Dispatcher::cct', so we'd better use OSD::cct to initialize it instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-07 01:59:44 +08:00
Kefu Chai
7f854cc180 Merge pull request #7549 from tchaikov/wip-fix-ceph-disk-tests
ceph-disk/test: fix test_prepare.py::TestPrepare tests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-06 23:43:31 +08:00