Sage Weil
0ff3d4291c
osd: do not bother with misdirected op diagnosis by default
...
We enable osd_debug_misdirected_ops in QA, but this is wasted effort on
a production cluster. In particular, it means that a idle client that
sends an op to the wrong OSD based on an old map will require that OSD to
load that old map into memory to decide whether to print a warning... all
on the off-chance that the client is buggy.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 22:29:22 -04:00
Sage Weil
c150cba817
osd: remove osd_enxio_on_misdirected_op option
...
There is no good reason anyone would want this turned on.
Introduced 923e7f5ce5ed437af15e178299a61029ff48e4a2 (post-kraken), but
backported to kraken and jewel (10.2.6).
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 22:29:22 -04:00
liuchang0812
b2fcb62b7a
tool/ceph: remove old mon support and verbose support
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
liuchang0812
9753a0065d
tool/ceph: validate target in tell subcommand
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
liuchang0812
b0af39713b
test/cephtool: convert FS_NAME to local variable
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
liuchang0812
a1cf9ae766
doc/tool: introduce "ceph tell x help" command in man
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
liuchang0812
5680936878
tool/ceph: create "tell x help" command
...
Fixes: http://tracker.ceph.com/issues/19885
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
Brad Hubbard
096249707d
Merge pull request #15192 from badone/wip-tracker-19900-wait_auth_rotating-crash
...
mgr: Mark session connections down on shutdown
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-26 08:35:29 +10:00
Sage Weil
890f482568
mgr/MgrStandby: prevent use-after-free on just-shut-down Mgr
...
Fixes: http://tracker.ceph.com/issues/19595
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 18:25:27 -04:00
Sage Weil
d292b5419f
qa/tasks/repair_test: unset flags we set
...
In particular, noscrub and nodeepscrub leave a health
warning, which prevents shutdown with at-end.yaml.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 18:05:42 -04:00
myoungwon oh
6dbcbb5515
osd: prevent upgrading unsupported cluster
...
Signed-off-by: Myoungwon Oh omwmw@sk.com
Signed-off-by: Sage Weil sage@redhat.com
2017-05-26 05:52:56 +09:00
Yuri Weinstein
25b8e0f63f
Merge pull request #15146 from tchaikov/wip-split-test-tiering
...
qa: split test_tiering into smaller pieces
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-25 13:43:53 -07:00
Yuri Weinstein
0f7e269880
Merge pull request #15156 from tchaikov/wip-ceph.in-assert-connected
...
ceph.in: assert(state==connected) before help_for_target()
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-25 13:43:17 -07:00
Yuri Weinstein
516c3ec452
Merge pull request #15224 from tchaikov/wip-denc-no-deep-copy-for-segmented-buffer
...
denc: add need_contiguous to denc_traits
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-25 13:40:23 -07:00
Sage Weil
9b81fa43db
crush/CrushTreeDumper: allow children to filter results
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 16:31:52 -04:00
Matt Benjamin
448edbfa55
rgw_file: store bucket uxattrs on the bucket
...
This turns out to be the corollary of the earlier bug in removing
buckets w/uxattrs. Rather than conditionally put the attrs on a '/'
object, put them on the bucket--because that works, and will be
slightly more efficient when the check for the '/' object goes
away.
Fixes: http://tracker.ceph.com/issues/20082
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-05-25 16:28:02 -04:00
Mohamad Gebai
69d5ad5295
tracing: remove -pie if using function instrumentation
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-05-25 15:16:21 -04:00
Mohamad Gebai
021dcf7bfb
tracing: add documentation for function instrumentation
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-05-25 15:16:21 -04:00
Mohamad Gebai
73ab6c2d13
tracing: add -finstrument-functions for OSD
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-05-25 15:16:21 -04:00
Mohamad Gebai
27fe5320bb
tracing: add cyg_profile tracepoint provider
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-05-25 15:16:21 -04:00
Mohamad Gebai
0baebc308c
cmake: configuration for OSD function instrumentation
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-05-25 15:16:14 -04:00
Greg Farnum
0bce2c622e
osd: make sure we drop Backoff PGRefs on shutdown
...
Fixes: http://tracker.ceph.com/issues/19931
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-05-25 11:42:10 -07:00
Greg Farnum
a3b028a6d1
osd: print out pg debug ref counts on acquire/drop
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-05-25 11:42:10 -07:00
Greg Farnum
ec4185d198
osd: repair the PG_DEBUG_REFS build
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-05-25 11:42:01 -07:00
Greg Farnum
306ad85f0f
osd: use PGRef instead of boost::intrusive_ptr<PG> everywhere
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-05-25 11:39:07 -07:00
John Spray
f80e0973f5
Merge pull request #15062 from ukernel/wip-19912
...
qa/tasks/cephfs: use getattr to guarantee inode is in client cache
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-25 18:44:54 +01:00
Ken Dreyer
5b40557a2c
Merge pull request #15270 from ceph/wip-subman-cron-attr-tserlin
...
Set subman cron attributes in spec file
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-25 11:43:24 -06:00
Dan Mick
19197d88aa
Merge pull request #15253 from tchaikov/wip-ceph-daemon-termsize
...
pybind/ceph_daemon.py: fix Termsize.update
Reviewed-by: Dan Mick <dmick@redhat.com>
2017-05-25 10:09:14 -07:00
Jos Collin
4ef5559fe8
Merge pull request #15279 from joscollin/wip-cleanup-rename-filejournal-object
...
test: Rename FileJournal object to distinguish
2017-05-25 21:27:40 +05:30
Casey Bodley
4926fbaf91
test: add denc tests for sstring
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-25 10:57:31 -04:00
Thomas Serlin
a9eb6ecea7
Set subman cron attributes in spec file
...
Fixes: http://tracker.ceph.com/issues/20074
Signed-off-by: Thomas Serlin <tserlin@redhat.com>
2017-05-25 10:16:51 -04:00
Ilya Dryomov
ffb9e09b18
qa/suites/krbd: unmap subsuite needs straw buckets
...
The default tunables for luminous allow straw2 buckets, which aren't
supported by pre-single-major.yaml kernel. The map is generated before
crush_tunables override takes effect, so set the bucket algorithm to
straw manually.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-05-25 16:11:06 +02:00
Haomai Wang
2f8c56959a
msg/async: remove false alert "assert"
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-05-25 21:56:07 +08:00
Nathan Cutler
69e8beede8
build/ops: drop libfcgi build dependency
...
Follow-up on https://github.com/ceph/ceph/pull/15070 and https://github.com/ceph/ceph/pull/15098
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-05-25 11:30:14 +02:00
Nathan Cutler
e9a81ba41c
Merge pull request #15200 from smithfarm/wip-rdma-devel
...
build/ops: rpm: move RDMA and python-prettytables build dependencies to distro-conditional section
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-25 11:18:29 +02:00
Jos Collin
9c431c7878
test: Rename FileJournal object to distinguish
...
Renamed FileJournal object for easier searching and identifying with in test_filejournal.cc
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-05-25 12:06:14 +05:30
Jos Collin
2f9ee0badd
Merge pull request #15258 from big-henry/wip-mds-misc-fix
...
mds: fix client ID truncation
2017-05-25 09:29:33 +05:30
Nathan Cutler
9e297686f7
Merge pull request #15235 from smithfarm/wip-doc-empowers
...
doc: fix factual inaccuracy in doc/architecture.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-25 03:32:30 +02:00
Josh Durgin
814a6f3b4b
Merge pull request #15275 from ktdreyer/wip-17396
...
docs: document "osd recovery max single start" setting
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-24 17:05:10 -07:00
Sage Weil
6d520e9166
Merge pull request #15276 from liewegas/wip-ext4-again
...
qa/suites/rados/singleton-nomsgr: fix syntax
2017-05-24 17:09:25 -05:00
Sage Weil
5d80c74e63
Merge pull request #15252 from liewegas/wip-cleanup-tell
...
qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-24 17:05:32 -05:00
Sage Weil
ee84a23eef
Merge pull request #15250 from neha-ojha/wip-19989
...
osd/OSDMap.cc: check if osd is out in subtree_type_is_down
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-24 17:04:52 -05:00
Sage Weil
035cad4ff1
Merge pull request #14944 from yuyuyu101/wip-msgr-throttle-ops
...
ceph_osd: remove client message cap limit
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-24 17:03:36 -05:00
Sage Weil
499c1afc81
Merge pull request #14655 from chardan/jfw-wip-halflife_atomic_t-gojira
...
test: migrate atomic_t to std::atomic
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-24 17:03:13 -05:00
Sage Weil
8e72e0ee7a
Merge pull request #11966 from aclamk/wip-linear-zeros-crc
...
common: Improved CRC calculation for zero buffers
2017-05-24 17:02:28 -05:00
Sage Weil
d2dac535f5
qa/suites/rados/singleton-nomsgr/health...: whitelist wrongly marked me down
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-24 17:58:12 -04:00
Sage Weil
85e2f3f31d
qa/suites/rados/singleton-nomsgr: fix syntax
...
This parsed out as
tasks:
- install: null
- ceph:
conf:
osd: osd max object name len = 400 osd max object namespace len = 64
- workunit:
clients:
all:
- rados/test_health_warnings.sh
which is clearly not correct.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-24 16:46:00 -04:00
Ken Dreyer
87d47b0dfa
docs: document "osd recovery max single start" setting
...
Fixes: http://tracker.ceph.com/issues/17396
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-24 14:41:17 -06:00
Matt Benjamin
cc52f051fe
Merge pull request #15028 from pritha-srivastava/wip-rgw-bucket-policy-test
...
rgw: Adding code to create tenanted user for s3 bucket policy tests.
2017-05-24 15:57:31 -04:00
Matt Benjamin
d06d13472c
Merge pull request #15070 from ceph/wip-turn-off-fcgi-tserlin
...
rgw: Turn off fcgi as a frontend
2017-05-24 15:53:57 -04:00