Commit Graph

68633 Commits

Author SHA1 Message Date
liuchang0812
0bc604bf56 cleanup: do not include boost/scoped_ptr.hpp in Allocator.h
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-13 14:38:29 +08:00
Kefu Chai
dbb6195662 script/sepia_bt.sh: no need to pass version and sha1 anymore
* try to figure out the working directory from the core dump's path
* add -C directory option, so user is able to specify the directory
  for the downloaded packages, and extracted files.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 14:33:18 +08:00
xie xingguo
f50990d544 os/bluestore: fix wal-queue bytes-counter to keep pace with others
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-13 14:09:45 +08:00
Kefu Chai
de59b5102c test: Thrasher: restore changed options after done with thrash
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:51 +08:00
Kefu Chai
761a1dc391 tests: Thrasher: extract _set_config() method
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:50 +08:00
Kefu Chai
995e144e3e tests: CephManager: add get_config() method
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:50 +08:00
Kefu Chai
136483a8f9 test: Thrasher: update pgp_num of all expanded pools if not yet
otherwise wait_until_healthy will fail after timeout as seeing warning
like:

HEALTH_WARN pool cephfs_data pg_num 182 > pgp_num 172

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:50 +08:00
Yuri Weinstein
05f1a1987e Merge pull request #13378 from liewegas/wip-luminous
qa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-02-12 08:13:26 -08:00
Sage Weil
5f6384db76 Merge pull request #13365 from xiexingguo/wip-backoff-refleak
osdc/Objecter: fix possible OSDSession leak on wrong connection

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-12 08:50:38 -06:00
Sage Weil
cfccde7aaf Merge pull request #13363 from jdurgin/wip-req-luminous-error
osd: clarify REQUIRE_LUMINOUS error message

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-12 08:49:57 -06:00
Sage Weil
6e998b2f8c qa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end
renumber too

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-12 09:47:41 -05:00
Willem Jan Withagen
ce3b71acd2 CMakeLists.txt: suppress unneeded warningiabout jemalloc
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-12 15:03:56 +01:00
Robin H. Johnson
2d6021fbf7
msg/simple/Pipe: support IPv6 QoS.
Extend DSCP marking for heartbeat packets to IPv6, as commit
9b9a682fe0 only implemented
support for IPv4.

Backport: jewel, luminious
Fixes: http://tracker.ceph.com/issues/18887
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2017-02-11 10:48:04 -08:00
Nathan Cutler
63100b4f9b doc: instructions for provisioning OpenStack VMs ad hoc
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-02-11 18:57:33 +01:00
Sage Weil
784c7edb4e osd/PrimaryLogPG: unconditionally set PGNLS next to hobject
Drop nibblewise workaround.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:17 -05:00
Sage Weil
75d7a5c85f osd/PG: drop get_sort_bitwise() accessors, flag
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:17 -05:00
Sage Weil
b02439ff1c osd/PG: always bitwise
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
d55cd22150 osd/PG: drop bitwise arg to MissingLoc::rebuild()
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
c5f880443d osd/osd_types: make set_last_backfill() assume bitwise
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
32acb10bd0 osd: BackfillInterval is always bitwise
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
10aab91f5e osd: fix add_source_info
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
ad4365b735 osd: fix write_blocked_by_scrub
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
b052e497a5 osd/osd_types: drop bitwise from ScrubMap
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
1699bf7b71 common/hobject: eliminate wonky compartors
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
43244da571 common/hobject: remove cmp_* comparators; add normal operators
Fix up callers.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
e8c55fe157 os: remove nibblewise sort order support
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Sage Weil
ea8b17035e osd: shutdown if sortbitwise flag is ever cleared
Note we do this only in activate_map so that we can (while booting)
skip past maps that don't have it set.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-11 10:45:16 -05:00
Ilya Dryomov
eb8d3372e8 Merge pull request #13369 from idryomov/wip-doc-kernel-vers
doc: kernel client os-recommendations update

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-11 16:01:02 +01:00
Jason Dillaman
e95fe0dfad Merge pull request #13229 from trociny/wip-18335
rbd-nbd: check /sys/block/nbdX/size to ensure kernel mapped correctly

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-11 09:29:23 -05:00
Willem Jan Withagen
299b7d06ac init-ceph.in: Make init-ceph work under FreeBSD for init-system
-  FreeBSD find does not have printf option
 -  use the packaged getopt in /usr/local
 -  Only apply user-facts when user ceph is available

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-11 13:26:58 +01:00
Kefu Chai
54354e597e Merge pull request #13292 from tchaikov/wip-script-sepia-bt-support-xenial
script/sepia_bt.sh: support xenial

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-11 12:22:34 +08:00
xie xingguo
ad304a7d8e osdc/Objecter: fix possible OSDSession leak on wrong connection
This is introduced by the newly added backoff logic.
Not sure if it will really happen, but just in case.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-11 11:01:15 +08:00
Sage Weil
d4db8e04dd Merge pull request #12342 from liewegas/wip-backoff
osd,osdc: pg and osd-based backoff

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-10 19:47:49 -06:00
Willem Jan Withagen
07e0efe48d Affiliation updates
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-11 01:55:53 +01:00
Sage Weil
46ade145a8 doc/dev/rados-client-protocol: describe some of rados protocol, including backoffs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:59 -05:00
Sage Weil
105e9d4234 qa/suites/rados/thrash: vary backoff settings
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:58 -05:00
Sage Weil
1d1e990b7b osd/PrimaryLogPG: backoffs on individual objects
Do these midway down do_op.  Reorder the scrub waitlist after the
degraded and unreadable waitlists.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:58 -05:00
Sage Weil
b8e1c05ed9 osdc/Objecter: respect backoffs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:58 -05:00
Sage Weil
a3d50f87d8 osd/PrimaryLogPG: PG-wide backoffs
Issue at top of do_request.  Release on activation or peering
interval change.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:58 -05:00
Sage Weil
32afacb32f osd: dispatch OSDBackoff messages into PG workqueue
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:55 -05:00
Sage Weil
9cef8e4e4a osd: split backoffs on PG split
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
cefb43dd14 osd: add pg helpers for managing backoffs
Link Backoff into Session, PG.  Tear them down on session
reset.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
8721deae30 include/ceph_features: RADOS_BACKOFF feature bit
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
5ecafc395a osdc/Objecter: fix typo
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
304bb1fe40 common/hobject: use hash field for hash<>
No reason to waste CPU recalculating a hash value!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
8da82431f6 osd: add MOSDBackoff message type
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
a0d2011787 osd: move Session class out of OSD
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Sage Weil
070f77cc07 osdc/Objecter: attach OSDSession to Connection
This lets us avoid an rbtree lookup.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 17:59:50 -05:00
Josh Durgin
f75e5c99b1 osd: clarify REQUIRE_LUMINOUS error message
This should be visible at the default log level, so users have some
hope of figuring out the problem.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-02-10 14:27:18 -08:00
John Spray
0eb0abae63 doc: ref cephfs docs from os-recommendations
...instead of having potentially conflicting kernel
version information.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-10 21:24:08 +01:00