Yuri Weinstein
4075f98da1
Merge pull request #9718 from songbaisen/a8
...
mon: clear list in better way
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-05 08:09:58 -07:00
Yuri Weinstein
6a1f5a294a
Merge pull request #10392 from stiopaa1/mon_monclient_moveCCancelMonCommand
...
mon/MonClient: move C_CancelMonCommand to cc file
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-05 08:09:07 -07:00
Yuri Weinstein
8fd699c5c5
Merge pull request #10470 from xiexingguo/xxg-wip-osd-2016-07-28
...
osd: minor performance improvements
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-05 08:08:19 -07:00
John Spray
e688f5f80e
Merge pull request #10539 from jcsp/wip-mds-counters
...
mds: add perf counters for MDLog replay and SessionMap
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-08-05 15:55:56 +01:00
Jason Dillaman
8865846f27
Merge pull request #10542 from ktdreyer/doc-rbd-libvirt-logging
...
doc: describe libvirt client logging
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-05 09:52:06 -04:00
Jason Dillaman
efa5f730cc
Merge pull request #10488 from lande1234/wip-lan-testing
...
rbd-mirror: add additional test scenarios
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-05 09:20:37 -04:00
John Spray
4a648d2d4a
Merge pull request #10573 from renhwztetecs/renhw-wip-doc-cephfs
...
doc/mds: fixup mds doc
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-05 12:26:21 +01:00
John Spray
9d84634d9a
mds: add perf counter for rate of replay
...
Useful for watching the progress of a daemon
in standby-replay or replay.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-08-05 12:22:53 +01:00
John Spray
6e34969b8f
mds: expose perf counters for SessionMap
...
So that we can see how many sessions exist via
the counters rather than only by looking at status.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-08-05 12:22:53 +01:00
John Spray
8aeec4cf0d
Merge pull request #10512 from renhwztetecs/renhw-wip-mds-balancer
...
mds/MDBalancer: cleanup
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-05 12:01:12 +01:00
John Spray
019f1cf519
Merge pull request #10485 from gregsfortytwo/wip-client-dump-complete
...
client: include COMPLETE and ORDERED states in cache dump
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-05 12:00:05 +01:00
John Spray
4dcae90ed2
Merge pull request #10533 from gregsfortytwo/wip-mds-dispatch-refcount
...
mds: fix up _dispatch ref-counting semantics
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-05 11:59:21 +01:00
John Spray
f6d6bc7cc1
Merge pull request #10540 from jcsp/wip-mds-multimds-standby
...
mds: fix daemon selection when starting ranks
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-08-05 11:58:32 +01:00
David Zafman
6fed82a086
Merge pull request #10565 from dzafman/wip-16672
...
OSD crash with Hammer to Jewel Upgrade: void FileStore::init_temp_collections()
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-04 17:01:12 -07:00
Jason Dillaman
b0dbd1ff50
Merge pull request #10545 from trociny/fixup-rbd-mirror-test
...
qa/workunits/rbd: wait for image deleted before checking health
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-04 17:01:57 -04:00
Ken Dreyer
8e8d55b797
doc: describe libvirt client logging
...
Describe how to configure logging and the admin socket for debugging RBD
libvirt clients.
Thanks to Jason Dillman <jdillama@redhat.com> on ceph-devel for this
information.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-08-04 12:30:24 -06:00
John Spray
367cb8407b
Merge pull request #10566 from batrick/mds-daemon-unused
...
mds: remove unused MDSDaemon::objecter
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-04 14:10:45 +01:00
huanwen ren
d1277f116c
doc/mds: add generated files into the /etc/ceph/
...
Fixes: 16906
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-04 20:14:18 +08:00
Patrick Donnelly
50903488d2
mds: remove unused MDSDaemon::objecter
...
Leftover from a2682edb76ceac428c686e0ac21c06511e27693e.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-08-03 22:04:17 -04:00
Matt Benjamin
f62f7abbc1
Merge pull request #10307 from pritha-srivastava/wip_s3_auth_rework
...
rgw: Rework of s3 LDAP Authentication code.
verified: MS AD
2016-08-03 12:39:26 -04:00
David Zafman
ba88a3aac0
os: Fix HashIndex::recursive_remove() to remove everything but original path
...
Fixes: http://tracker.ceph.com/issues/16672
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-08-02 23:55:41 -07:00
David Zafman
892303cd02
filestore: Clear objects before calling collection_list() again
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-08-02 23:55:35 -07:00
David Zafman
b78c457785
filestore: Improve logging
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-08-02 23:55:28 -07:00
huanwen ren
ff9a5cb2ef
mds/MDBalancer: change OPT_FLOAT to OPT_DOUBLE
...
utime_t convert double in MDBalancer::tick(),
so g_conf->mds_bal_sample_interval should be set OPT_DOUBLE
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-03 09:19:51 +08:00
huanwen ren
7905f31d5e
mds/MDBalancer: redundance cleanup
...
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-03 09:19:51 +08:00
huanwen ren
7c51349ba7
mds/MDBalancer: some types of definitions are cleanup
...
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-03 09:19:51 +08:00
huanwen ren
5478769753
mds/MDBalancer: add err info when ifstream open failure
...
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-08-03 09:19:33 +08:00
Patrick Donnelly
c162a8a08d
Merge remote-tracking branch 'upstream/pull/10543/head'
...
* upstream/pull/10543/head:
vstart.sh: only delete conf if -n
2016-08-02 15:40:49 -04:00
Igor Fedotov
119f06fcc4
Merge pull request #10492 from chhabaramesh/master
...
os/bluestore: remove cmake warning from extent alloc functions
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-02 21:43:41 +03:00
Patrick Donnelly
c3ca7ad40c
vstart.sh: only delete conf if -n
...
src/test/ceph_objectstore_tool.py depends on an implicit "-k" when not
creating a new cluster. (Deleting the conf file without -n makes no
sense anyway.)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-08-02 14:17:35 -04:00
Mykola Golub
57b69b9200
Merge pull request #10462 from dillaman/wip-16478
...
rbd-mirror: non-primary image is recording journal events during image sync
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-02 20:48:07 +03:00
Mykola Golub
42905a6d3b
Merge pull request #10484 from dillaman/wip-16538
...
rbd-mirror: image deleter should use pool id + global image uuid for key
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-02 20:14:54 +03:00
Mykola Golub
a5f63f7261
qa/workunits/rbd: wait for image deleted before checking health
...
This is a fixup to the previous commit.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-08-02 20:06:17 +03:00
John Spray
48cd11fece
Merge pull request #10458 from gregsfortytwo/wip-doc-troubleshooting
...
doc: extend the CephFS troubleshooting guide
Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-02 18:04:31 +01:00
Alfredo Deza
79b011881e
Merge pull request #9695 from ktdreyer/doc-tarballs-url
...
doc: update canonical tarballs URL
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2016-08-02 11:50:47 -04:00
Ramesh Chander
4fc84ad9f8
os/bluestore: remove cmake warning from extent alloc functions.
...
tracker link: http://tracker.ceph.com/issues/16766
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-08-02 08:39:28 -07:00
John Spray
01cd578cbc
Merge pull request #10386 from ceph/wip-jlayton-nlink
...
Fix attribute handling at lookup time
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-08-02 16:29:45 +01:00
Kefu Chai
af113a4760
Merge pull request #10541 from tchaikov/wip-cmake
...
cmake: install ceph_test_rados_striper_api_*
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-02 23:10:08 +08:00
Kefu Chai
62e51717f3
cmake: install ceph_test_rados_striper_api_*
...
so we can test them in ceph-qa-suite
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-02 22:38:00 +08:00
Jason Dillaman
4a256f5044
test: unit test cases for disabling librbd journal by policy
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:57:25 -04:00
Jason Dillaman
2e5076eb19
librbd: utilize factory methods to create AioObjectRequest objects
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
840a473e7f
librbd: convert AioObjectRequest/AioObjectRead classes to templates
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
65b336f685
librbd: move read callback helpers to narrowest scope
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
a945c2c235
librbd: convert AioImageRequest derived classes to templates
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
f1e391982b
librbd: removed namespace indentation from legacy classes
...
Better follows the Ceph C++ style guide
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
405142c615
librbd: do not record journal events if append is disabled by policy
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
f453554edc
librbd: remove unused journal replay canceled callback
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Jason Dillaman
f7eeacd02f
librbd: optionally support disabling journal appends via policy
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-02 09:56:21 -04:00
Casey Bodley
4d95e5c00e
Merge pull request #10505 from wjwithagen/wip-wjw-dns-resolv
...
src/common/dns_resolve.cc: reorder the includes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-02 09:12:39 -04:00
John Spray
39e1b65792
mds: fix daemon selection when starting ranks
...
Previously, if "standby for rank" was set, but
"standby for fscid" wasn't, the daemon wouldn't
be recognised as the right one for the rank,
and we would end up promoting some arbitrary
standby.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-08-02 14:03:17 +01:00