Patrick Donnelly
ea026df1e3
qa: update json format from session listing
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 22:09:17 -07:00
Patrick Donnelly
740f6f99a1
mds: recall caps from quiescent sessions
...
This introduces two new config options [1,2] that dictate when a session
is considered quiescent by the MDS. (Options are documented fully in
options.cc.) When a session is quiescent, the MDS will preemptively
recall caps to reduce the outstanding capabilities which optimizes for
reducing work during failover.
[1] mds_session_cache_liveness_magnitude
[2] mds_session_cache_liveness_decay_rate
Fixes: https://tracker.ceph.com/issues/22446
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
63f9448947
mds: use Session::dump method uniformly
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
ae8ac528da
mds: use auto to deduce iterator type
...
This prevents accidental type mismatches.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
42ac34736a
mds: simplify method definition
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
8ad44444a4
mds: remove useless debug message
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
2ddcfbdf64
mds: use const get_request_count
...
So it can be used from a const dump method. Make the elist mutable
instead.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
e565e7f655
mds: use session_info_t socket inst for addr
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
638fc901a3
mds: refactor session lookup
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:03 -07:00
Patrick Donnelly
be49866a15
mds: add explicit trim flag
...
So that the intent of the caller is clear to trim due to the cache being
too full.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:02 -07:00
Patrick Donnelly
0cbac2f856
mds: alphabetize tracked config keys
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:02 -07:00
Patrick Donnelly
91fed04c49
common: provide method to get half-life
...
Print the half-life in Formatter output as it is human understandable
and the value used when configuring the counters.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:02 -07:00
Patrick Donnelly
f513a67e90
common: correct variable name
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 17:42:02 -07:00
Patrick Donnelly
9dab10555e
Merge PR #29574 into master
...
* refs/pull/29574/head:
mds: Reorganize class members in FSMapUser header
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 16:24:14 -07:00
Patrick Donnelly
46fa69a987
Merge PR #29883 into master
...
* refs/pull/29883/head:
mds: Reorganize class members in InoTable header
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 16:23:26 -07:00
Patrick Donnelly
dedd91c1fd
Merge PR #30090 into master
...
* refs/pull/30090/head:
mds: Reorganize class members in Anchor header
Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-09-12 16:20:49 -07:00
Patrick Donnelly
1f05979985
Merge PR #30143 into master
...
* refs/pull/30143/head:
mds: Reorganize class members in LocalLock header
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-12 16:20:02 -07:00
Patrick Donnelly
9b7b2f82ea
Merge PR #30205 into master
...
* refs/pull/30205/head:
mds: Reorganize class members in LogEvent header
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-09-12 16:19:11 -07:00
Sage Weil
234eb44061
Merge PR #30191 into master
...
* refs/pull/30191/head:
cls/hello: disable write returning data clobbering demo
messages/MOSDOpReply: assert no write result payloads
osd/PrimaryLogPG: assert write result == 0
osd/PrimaryLogPG: pass TMAPGET errors up
osd/PrimaryLogPG: set result=0 for successful writes
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-09-12 11:45:47 -05:00
Sebastian Wagner
8603e8394c
Merge pull request #29792 from sebastian-philipp/orchestrator-api-replace
...
mgr/orchestrator: Document OSD replacement
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-09-12 17:46:27 +02:00
Sage Weil
56b859ce33
cls/hello: disable write returning data clobbering demo
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-09-12 10:28:18 -05:00
Sage Weil
991520b869
Merge PR #29820 into master
...
* refs/pull/29820/head:
osd/PeeringState: log_weirdness during peering
osd/PeeringState: send new message types
osd/PeeringState: give require_osd_release to BufferedRecoveryMessages
osd: add new notify, query, and info messages
osd/PeeringState: use send_info() for replica activation ack
osd/PeeringState: remove old info_map member
osd/PeeringState: send infos via message_map (not info_map)
osd/PeeringState: remove old query_map member
osd/PeeringState: send queries via message_map (not query_map)
osd/PeeringState: use return value from discover_all_missing
osd/PeeringState: give PeeringCtxWrapper a BufferedRecoveryMessages ref
osd/PeeringState: send notifies via message_map (not notify_list)
osd/PeeringState: add message_map to PeeringCtx/BufferedRecoveryMessages
osd: dispatch_context inside PG lock
Reviewed-by: Samuel Just <sjust@redhat.com>
2019-09-12 09:57:12 -05:00
J. Eric Ivancich
01263b792a
Merge pull request #30146 from ivancich/wip-fix-min-unordered-bkt-list
...
rgw: fix minimum of unordered bucket listing
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2019-09-12 10:47:19 -04:00
Nathan Cutler
193ef136a3
Merge pull request #30106 from smithfarm/wip-more-cbs
...
script/ceph-backport.sh: make the script idempotent
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-12 12:04:25 +02:00
Lenz Grimmer
ee23c75298
mgr/dashboard: key-value-table doesn't render booleans ( #30203 )
...
mgr/dashboard: key-value-table doesn't render booleans
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-12 09:59:14 +00:00
Lenz Grimmer
4bbea68a28
mgr/dashboard: Fix error message not displayed in pool form ( #30137 )
...
mgr/dashboard: Fix error message not displayed in pool form
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-12 09:15:24 +00:00
Kefu Chai
ec06dec512
Merge pull request #28936 from tchaikov/wip-unaligned-access
...
cmake: check for unaligned access
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-12 12:49:49 +08:00
Jason Dillaman
a00b2e1170
Merge pull request #28939 from trociny/wip-37529
...
rbd-mirror: add namespace support
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-11 22:19:35 -04:00
David Zafman
81bfdf6d0f
Merge pull request #30192 from dzafman/wip-41669
...
Make dumping of reservation info congruent between scrub and recovery
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-09-11 14:20:24 -07:00
Neha Ojha
b2cd2c4eec
Merge pull request #30347 from neha-ojha/wip-add-backend
...
qa/suites/rados/perf: test min recommended osd_memory_target
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2019-09-11 13:58:58 -07:00
Casey Bodley
9c07878b29
Merge pull request #30319 from zhangsw/rgw-fix-zone-rm
...
rgw: fix incorrect "radosgw-admin zonegroup rm" info.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-11 16:50:04 -04:00
Neha Ojha
fe93108a83
qa/suites/rados/perf: test min recommended osd_memory_target
...
Add bluestore-basic-min-osd-mem-target.yaml to objectstore.
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-09-11 10:32:03 -07:00
Patrick Donnelly
6f346f11f4
Merge PR #30346 into master
...
* refs/pull/30346/head:
script: raw_input was renamed to input in py3
Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-11 10:21:30 -07:00
Patrick Donnelly
5ee344ab42
script: raw_input was renamed to input in py3
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-11 10:00:46 -07:00
Patrick Donnelly
a779766be9
Merge PR #30014 into master
...
* refs/pull/30014/head:
doc: update CephFS overview in introductory page
doc: filesystem to file system
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-09-11 09:59:51 -07:00
Casey Bodley
3417e26906
Merge pull request #30221 from cbodley/wip-rgw-dns-name-iends-with
...
rgw: fix dns name comparison for virtual hosting
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-11 11:28:42 -04:00
Kefu Chai
dba64a739d
Merge pull request #30310 from rzarzynski/wip-crimson-op_effects
...
crimson/osd: extend OpsExecuter to carry about op effects.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-11 23:27:25 +08:00
Lenz Grimmer
8ce8effe08
mgr/dashboard: E2E enhancements ( #30017 )
...
mgr/dashboard: E2E enhancements
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-11 14:32:55 +00:00
Sridhar Seshasayee
b6b6fca078
Merge pull request #29606 from sseshasa/bluestoreCfgObserver
...
os/bluestore: Add config observer for osd memory specific options.
2019-09-11 19:18:32 +05:30
Sebastian Wagner
9d0868794d
Merge pull request #29793 from sebastian-philipp/ansible-default-realm-zonegroup
...
mgr/ansible: Change default realm and zonegroup
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2019-09-11 14:57:47 +02:00
Kefu Chai
1fa6c86d1a
Merge pull request #30321 from tchaikov/wip-run-cbt.sh
...
script/run-cbt.sh: always use python3
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-11 19:53:28 +08:00
Tiago Melo
9f89e76849
mgr/dashboard: Update protractor dependencies
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:13:10 +00:00
Tiago Melo
204ad50bf7
mgr/dashboard: Enable waitforAngular in E2E
...
Convert waitForTableData into a method,
using it as a decorator was causing problems.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:13:10 +00:00
Tiago Melo
9cd400b387
mgr/dashboard: Add protractor-fast-fail plugin
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:13:10 +00:00
Tiago Melo
9144e44cb9
mgr/dashboard: Add click call inside waitClickable
...
All waitClickable calls were being followed by a click.
This will remove the need for the click call.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:13:08 +00:00
Tiago Melo
a8b8845b7a
mgr/dashboard: Fix error in pool list component
...
Sometimes the pools list result comes without the tiers field.
This was causing an error in the code.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:12:44 +00:00
Tiago Melo
fe50d15139
mgr/dashboard: Fix random failure in images e2e test
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:12:43 +00:00
Tiago Melo
294c941407
mgr/dashboard: Remove duplicated method
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:12:40 +00:00
Tiago Melo
a23af4c854
mgr/dashboard: Remove helper.po.ts
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00
Tiago Melo
038aeedcc4
mgr/dashboard: Remove E2E warning
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00