Kefu Chai
27d4dcdf2d
mon/MonClient: do not assert on auth in build_authorizer()
...
* there is chance that some connections is still trying to authorize
itself after the MonClient is shut down. do not assert in this case,
but it is a sign of bug, or bad shutdown sequence, so print a message to
dout().
* do not use active_con->get_auth() as an alternative to `this->auth` if
it is not available. because we promote the authorized conn in
pending_cons as the active_con, and std::swap(active_conn->auth, this->auth)
with the monc_lock. so there is no point to return active_con->get_auth(),
as it's always null.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-01 10:11:12 +08:00
Kefu Chai
4d1989dc22
mgr/MgrClient: use unique_ptr for MgrClient::session
...
* use unique_ptr<MgrSessionState> for MgrClient::session, so we don't leak it.
* also reset it in MgrClient::shutdown(), so the connection held by session can
be released properly, and hence the MonClient will not be asked for
an AuthAuthorizer after being shut down.
Fixes: http://tracker.ceph.com/issues/19097
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-28 14:58:11 +08:00
Kefu Chai
ae85309b8d
Merge pull request #13663 from tchaikov/wip-ceph-git-for-workunit
...
qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for cloning workunit
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 10:32:00 +08:00
Jason Dillaman
dce46e0499
Merge pull request #13650 from trociny/wip-entity_addr-parse
...
msg: end parameter in entity_addr_t::parse is optional
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-27 21:28:50 -05:00
Kefu Chai
4f9580d36c
Merge pull request #13630 from wjwithagen/wip-wjw-fsx-linux
...
test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-28 10:18:14 +08:00
Jason Dillaman
c099bb76a9
Merge pull request #13196 from vshankar/rbd-ut-fix
...
test: fix rbd unit test cases w/ striping feature
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-27 21:16:58 -05:00
Jason Dillaman
4756ce6159
Merge pull request #12645 from guihecheng/wip-rbd-writesame-api
...
librbd: add writesame API
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-27 20:37:50 -05:00
Zack Cerza
7f70afa873
Merge pull request #13672 from zmc/wip-openstack-volumes
...
qa/suites/{ceph-ansible,rest}: OpenStack volumes
2017-02-27 12:22:59 -07:00
Sage Weil
b03d44b8dd
Merge pull request #13675 from liewegas/wip-words
...
doc/release-notes: avoid 'production-ready' in describing kraken
Reviewed-by: Ian Colle <icolle@redhat.com>
2017-02-27 10:54:23 -06:00
Yuri Weinstein
f15d025041
Merge pull request #13547 from liewegas/wip-kill-copy-get-classic
...
osd: remove copy-get-classic
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 08:36:19 -08:00
Yuri Weinstein
ab6cde5fce
Merge pull request #13574 from liewegas/wip-mon-mapping
...
mon/OSDMonitor: make mapping job behave if mon_osd_prime_pg_temp = false
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 08:35:39 -08:00
Sage Weil
d3c638fc5a
doc/release-notes: choose terms carefully
...
Production-ready is in the eye of the beholder.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-27 11:29:46 -05:00
Zack Cerza
99d942145f
qa/suites/rest: Openstack volumes
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:14:41 -07:00
Zack Cerza
964b983bdb
qa/suites/ceph-ansible: Openstack volumes
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:06:26 -07:00
Sage Weil
924121b384
Merge pull request #13665 from xiexingguo/wip-fix-ec-op-out
...
osd/ECBackend: drop duplicated pending_commit field from << operator
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-27 08:49:53 -06:00
Sage Weil
9f03a14388
Merge pull request #13661 from dachary/wip-crush-doc
...
doc: crush typo in algorithm description
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 08:47:14 -06:00
Haomai Wang
c0b1e6ef10
Merge pull request #13509 from yuyuyu101/wip-tx-zerocopy
...
msg/async/rdma: cleanup
Reviewed-by: Adir lev <adirl@mellanox.com>
2017-02-27 17:56:52 +08:00
Kefu Chai
af5e1e8d39
Merge pull request #13531 from LiumxNL/fix-osd-utilization
...
mon/OSDMonitor: fix dividing by zero in OSDUtilizationDumper
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 17:51:03 +08:00
Kefu Chai
a8122af62c
Merge pull request #13526 from ganeshmaharaj/tp_library_fixes
...
debian: Add missing tp files in deb packaging
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 17:50:40 +08:00
Kefu Chai
e094e88354
Merge pull request #13553 from yonghengdexin735/wip-zzz-dbev
...
os/bluestore/BlueStore.cc:remove unuse code in _open_bdev()
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-02-27 17:49:15 +08:00
Kefu Chai
b7adf4aa73
Merge pull request #13554 from songbaisen/s19
...
mon: crush straw_calc_version value is 0 or 1 not 0 to 2.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 17:48:26 +08:00
Kefu Chai
2db2f05535
Merge pull request #13653 from rzarzynski/wip-bs-bitmap-fast-exhausted-check
...
os/bluestore: the exhausted check in BitMapZone can be lock-less.
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-27 17:44:18 +08:00
Kefu Chai
66256aa5f7
Merge pull request #13656 from tchaikov/wip-19015
...
mon/MonClient: discard stray messages from non-acitve conns
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-27 17:42:20 +08:00
xie xingguo
a64addbcc1
osd/ECBackend: drop duplicated pending_commit field from << operator
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-27 17:41:16 +08:00
Kefu Chai
edceabbd47
qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for workunit repo
...
if we run upgrade test, where, for example, "jewel" is not in
ceph-ci.git repo, we should check ceph.git to clone the workunits.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-27 17:36:05 +08:00
Haomai Wang
a6108dc4b5
msg/async/rdma: accelerate tx/rx buffer ownership lookup
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-02-27 16:33:39 +08:00
Haomai Wang
a9b13b21e8
msg/async/rdma: cleanup
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-02-27 16:22:32 +08:00
Loic Dachary
31bf2e9acf
doc: crush typo in algorithm description
...
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-27 09:18:04 +01:00
Haomai Wang
bd527486f6
msg/async/rdma: cleanup Infiniband, remove unused functions
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-02-27 13:55:37 +08:00
Haomai Wang
ef19e90f51
Merge pull request #13603 from Adirl/fix_compile
...
msg/async/rdma: Fix broken compilation
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-27 13:55:13 +08:00
Sage Weil
da06227c7f
Merge pull request #13652 from liupan1111/wip-cleanup-rbd-nbd
...
rbd-nbd: fix a typo "moudle"
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-26 15:07:19 -06:00
Kefu Chai
87e0759bf2
auth/cephx: print challenges in hex
...
this matches the CephxServiceHandler::handle_request(), hence would be
easier for debugging.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-27 00:23:07 +08:00
Kefu Chai
c0f1600666
mon/MonClient: discard stray messages from non-acitve conns
...
Fixes: http://tracker.ceph.com/issues/19015
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-27 00:23:07 +08:00
John Spray
477ddea8a8
Merge pull request #13227 from ukernel/wip-multimds-misc
...
mds: misc multimds fixes
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-26 11:16:40 +00:00
Kefu Chai
259eac52aa
Merge pull request #13648 from tchaikov/wip-doc-osd-agent-options
...
doc: document `osd-agent-{max,low}-ops` options
Reviewed-by: Zhiqiang Wang <zhiqiang@xsky.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-26 17:35:54 +08:00
Pan Liu
5cc7771447
rbd-nbd: fix a typo "moudle"
...
Signed-off-by: Pan Liu <liupan1111@gmail.com>
2017-02-26 12:14:15 +08:00
Kefu Chai
0d858b9789
doc: document osd-agent-{max,low}-ops
options
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-26 11:12:22 +08:00
Radoslaw Zarzynski
d76f222462
bluestore: the exhausted check in BitMapZone can be lock-less.
...
Before the patch BitMapZone::is_exhausted() required from its
callers to acquire appropriate lock. However, fulfilling this
condition is not really necessary to use the method correctly
while it can significantly hurt performance.
The change allows BitMapAreaLeaf::child_check_n_lock() to not
acquire the lock while examining zones for being exhausted.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-02-25 20:47:24 +01:00
Sage Weil
af5dab0613
Merge pull request #13649 from liewegas/wip-ceph-scrub-debug
...
qa/tasks/ceph.py: debug which pgs aren't scrubbing
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-25 13:15:06 -06:00
Mykola Golub
44e8c873e2
msg: end parameter in entity_addr_t::parse is optional
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-25 17:42:42 +01:00
Sage Weil
f777d849e7
qa/tasks/ceph.py: debug which pgs aren't scrubbing
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-24 23:07:34 -05:00
Kefu Chai
09ab644c8d
Merge pull request #13478 from xiaoxichen/fix_osdc_perfcounter
...
osdc: fix osdc_osd_seesion perf counter.
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-25 11:00:12 +08:00
Kefu Chai
f5a3cb501a
Merge pull request #13626 from wjwithagen/wip-wjw-freebsd-enodata-fixed
...
do_freebsd.sh: Remove ENODATA requirement
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-25 10:28:08 +08:00
Zack Cerza
829b4ac649
Merge pull request #13640 from zmc/wip-fs-openstack
...
qa/suites/fs: Add openstack volume configuration
2017-02-24 17:22:04 -07:00
Brad Hubbard
e68393aa48
Merge pull request #13619 from kylinstorage/cleanup_bitallocator
...
BitAllocator: delete useless codes
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-25 09:30:28 +10:00
Zack Cerza
b076d89a3f
qa/suites/fs: Add openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 15:25:19 -07:00
Samuel Just
44b26f6ab4
Merge pull request #13594 from athanatos/wip-snap-trim-sleep
...
osd: add snap trim reservation and re-implement osd_snap_trim_sleep
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-24 14:09:17 -08:00
Samuel Just
4f856fe9c9
Merge pull request #13570 from athanatos/wip-18937
...
osd: don't use ORDERSNAP for flush; always request/send ondisk ack
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-24 14:08:40 -08:00
Willem Jan Withagen
1827c690a6
test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-24 22:45:15 +01:00
Zack Cerza
6f7f331ea8
Merge pull request #13637 from zmc/wip-openstack-volumes
...
qa/suites/{knfs,hadoop,samba}: OpenStack volume configuration
2017-02-24 14:43:56 -07:00