Haomai Wang
f104300156
msg/async: must destruct ConnectedSocket in the his own thread
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-02 00:05:06 +08:00
Haomai Wang
bc580b0a61
msg/async/rdma: refactor RDMAStack to accelerate tx handle
...
previously Dispatcher thread will poll both rx and tx events, then dispatch
these events to RDMAWorker and RDMAConnectedSocketImpl.
Actually tx event handling is a lightweight task and we make these handling
inline now. rx event dispatching is still working.
Another change is adding tx cq to make event polling separated.
removing lots of codes yet.
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-02 00:04:59 +08:00
Jason Dillaman
445cac55c0
librbd: eliminate compiler warnings
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-01 10:34:58 -05:00
Sage Weil
e6e83659f5
Merge pull request #13343 from liewegas/wip-faster-dispatch
...
osd: faster dispatch
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-03-01 09:21:55 -06:00
Radoslaw Zarzynski
d40a318f63
Merge pull request #13557 from prallabh/healthcheck
...
rgw: Correct the return codes for the health check feature
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-01 13:06:06 +01:00
Kefu Chai
fec59e80ef
Merge pull request #13685 from tchaikov/wip-19097
...
mgr/MgrClient: use unique_ptr for MgrClient::session
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-01 18:12:14 +08:00
Haomai Wang
3955caca28
Merge pull request #13716 from Adirl/move_counter
...
msg/async/rdma: move active_queue_pairs perf counter dec to polling
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-01 15:54:17 +08:00
DanielBar-On
b364d24a57
msg/async/rdma: move active_queue_pairs perf counter dec to polling
...
removing dead qp's is actually done at polling. if polling is busy then
dead qp will not be removed and active_queue_pair counter is not correct.
issue: 992513
Change-Id: I825e813ce0632fd01f6d29adc87e0e33a2bc13d9
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
2017-03-01 09:02:28 +02:00
root
4da2bf310f
rgw: Correct the return codes for the health check feature
...
Fixes: http://tracker.ceph.com/issues/19025
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2017-03-01 11:49:24 +05:30
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
Drunkard Zhang
da094e7a16
doc: command typo fix
...
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-01 09:52:29 +08:00
Drunkard Zhang
7ddf1f2018
doc: remove dead doc from index
...
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-01 09:52:10 +08:00
Drunkard Zhang
f763bacab3
doc: hyperlink fix
...
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-01 09:51:01 +08:00
Matt Benjamin
2bcd9d7dde
Merge pull request #13703 from linuxbox2/wip-is-linked
...
rgw_file: use fh_hook::is_linked() to check residence
verified by hand f23
2017-02-28 16:16:16 -05:00
Matt Benjamin
c0aa515f8d
rgw_file: use fh_hook::is_linked() to check residence
...
Previously we assumed that !deleted handles were resident--there
is an observed case where a !deleted handle is !linked. Since
we currently use safe_link mode, an is_linked() check is
available, and exhaustive.
Fixes: http://tracker.ceph.com/issues/19111
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-28 15:56:40 -05:00
Sage Weil
7884fbff04
Merge pull request #13671 from liewegas/wip-filestore-omap
...
os/filestore: debug which omap keys are set
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-28 14:27:10 -06:00
Matt Benjamin
af7f0483ab
Merge pull request #13546 from cbodley/wip-19019
...
rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes
tested by-had, using fault injection
2017-02-28 15:06:15 -05:00
Sage Weil
3212ba75cf
Merge pull request #13415 from ifed01/wip-fix-storetest
...
test/store_test: add deferred test case setup to support explicit min…
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-28 13:19:20 -06:00
Sage Weil
9fcef127df
Merge pull request #13476 from songbaisen/s18
...
osd: small clear up and optimize on _recover_now and should_share_map function
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 13:18:08 -06:00
Sage Weil
0565b11c19
common/TrackedOp: make TrackedOp::reset_desc() safe
...
It is possible for a reset_desc() call to clear the desc char* while
get_desc() is executing such that it will return a nullptr to the caller.
This can lead to bad results, like a crash in std::string() (which does
not like to take null).
Fix this by not clearing desc. Instead, set a separate flag to indicate
that desc should be (safely) rebuilt on the next get_desc() call.
Fixes: http://tracker.ceph.com/issues/19110
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-28 12:23:53 -06:00
Jason Dillaman
0ca0a0a8fe
Merge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2
...
test: Need to exclude the fsx executable also on FreeBSD
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 12:25:52 -05:00
Jason Dillaman
b4861a5cfe
rbd-mirror: eliminate context switch from close image state machine
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 11:26:35 -05:00
Jason Dillaman
5fb1277eec
librbd: eliminate context switch from remove state machine
...
Also cleaned up formatting issues within the state machine.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 11:06:28 -05:00
Kefu Chai
1f0824b72d
Merge pull request #13523 from wjwithagen/wip-wjw-clang-mempool
...
include/mempool.h: fix Clangs complaint about types
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:02:29 +08:00
Kefu Chai
5d152cc63a
Merge pull request #13659 from majianpeng/compiler-warning
...
common/EventTrace: fix compiler warning.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:01:46 +08:00
Kefu Chai
91c09376ba
Merge pull request #13667 from jcsp/wip-mgr-misc
...
mgr: use unique_ptr for MgrStandby::active_mgr
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:00:30 +08:00
Kefu Chai
15cbb9855c
Merge pull request #13669 from jcsp/wip-mgr-get-version
...
mgr: add a get_version to the python interface
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-01 00:00:02 +08:00
Jason Dillaman
bf6d347032
librbd: cleanup synchronous open/close memory management
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 10:56:25 -05:00
Sage Weil
ef6de18a62
Merge pull request #13692 from Liuchang0812/wip-add-override-in-auth-headers
...
common/auth: add override in headers
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-28 09:54:55 -06:00
John Spray
bb041c61eb
Merge pull request #13591 from batrick/mds-static-counters
...
mds: automate MDS object count tracking
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-28 15:07:46 +00:00
John Spray
a04179110e
Merge pull request #13581 from jcsp/wip-mdsmonitor-refactor
...
mon: refactor MDSMonitor command handling
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:07:20 +00:00
John Spray
6a0c9870c2
Merge pull request #13532 from ukernel/wip-18995
...
ceph_fuse: fix daemonization when pid file is non-empty
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 15:06:07 +00:00
John Spray
c9f53ffaf1
Merge pull request #13464 from jcsp/wip-sessionmap-ioerror
...
mds: fix IO error handling in SessionMap
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:05:21 +00:00
John Spray
39204abeda
Merge pull request #13282 from jcsp/wip-fuse-mount-teardown
...
tasks/cephfs: tear down on mount() failure
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:04:59 +00:00
Jason Dillaman
0d66a40130
librbd: utilize a singleton ContextWQ instead of per-image instance
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 09:24:53 -05:00
Orit Wasserman
1c733225e2
Merge pull request #13676 from yehudasa/wip-19096
...
rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-02-28 15:58:03 +02:00
Kefu Chai
50a0fe4fc9
Merge pull request #13600 from dachary/wip-17821-revert
...
ceph-disk: Revert "Revert "change get_dmcrypt_key test to support different cluster name""
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 20:44:55 +08:00
Mykola Golub
178484c4cb
test/rbd_mirror: leader watchers need separate clients for notify to work
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-28 12:48:38 +01:00
Mykola Golub
5a0b75172d
rbd-mirror A/A: leader should track up/down rbd-mirror instances
...
Fixes: http://tracker.ceph.com/issues/18784
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-28 12:48:38 +01:00
liuchang0812
4975d6d3d1
common/auth: add override in headers
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-28 17:22:51 +08:00
Mykola Golub
4c10945002
rbd-mirror: class for tracking instances state
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-28 09:54:59 +01:00
Willem Jan Withagen
285afdeeb0
src/test/librbd/CMakeLists.txt: Need to exclude the fsx executable also on FreeBSD
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-28 09:32:38 +01:00
Kefu Chai
c53073aa61
Merge pull request #13682 from tahia-khan/wip-doc-architecture-rados-hyperlink
...
doc: fixes a broken hyperlink to RADOS paper in architecture
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-28 16:15:00 +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
Tahia Khan
a92171ebb8
doc: fixes a broken hyperlink to RADOS paper in architecture
...
Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
2017-02-27 22:44:58 -05:00
Sage Weil
8962f2c94b
Merge pull request #13138 from liewegas/wip-vstart
...
vstart: clean up usage a bit
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-27 20:58:10 -06: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