Commit Graph

87102 Commits

Author SHA1 Message Date
tone-zhang
78012eed1b doc: update the description for SPDK in bluestore-config-ref.rst
Add more information to show the device initialization in SPDK.

Signed-off-by: tone-zhang <tone.zhang@arm.com>
2018-06-03 06:37:45 +00:00
Kefu Chai
eb8c5e552e
Merge pull request #21689 from ovh/bp-reduce-bs-bl-rebuilds
os/bluestore/BlueFS: reduce bufferlist rebuilds during WAL writes

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-06-01 12:15:55 +08:00
Kefu Chai
4ddd1d0f3b
Merge pull request #21920 from cbodley/wip-async-librados
librados: use ceph::async::Completion for asio bindings

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-01 12:14:59 +08:00
Kefu Chai
7f65452cc5
Merge pull request #22056 from jiangxiyxy/Branch_master
mon: change monitor compact command to run asynchronously

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-01 08:06:40 +08:00
Abhishek L
d5b83f14f4
Merge pull request #22319 from theanalyst/releases/mimic/13.2
doc: release/mimic: correct the changelog to the latest version
2018-06-01 00:40:56 +02:00
Josh Durgin
11aa333ff2
Merge pull request #22330 from neha-ojha/wip-async-up
osd/PG: do not choose stray osds as async_recovery_targets

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-31 11:07:50 -07:00
Kefu Chai
8b07815b01
Merge pull request #22121 from mogeb/bluestore-mono-clock
os/bluestore: use the monotonic clock for perf counters latencies

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-06-01 00:20:41 +08:00
Kefu Chai
ebd93038dd
Merge pull request #22318 from rjfd/wip-dashboard-rest-methods
mgr/dashboard: rest: add support for query params

Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-01 00:17:27 +08:00
Kefu Chai
ea97a8ec3f
Merge pull request #18241 from hjwsm1989/wip-21756
osd: don't check overwrite flag when handling copy-get

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-01 00:15:53 +08:00
Kefu Chai
a6c9401a8c
Merge pull request #22174 from zhongyimao/cleanup
doc: fix typos

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-31 21:30:08 +08:00
Mao Zhongyi
831cbfb285 SubmittingPatches: fix the spelling error
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-05-31 20:35:39 +08:00
Mao Zhongyi
6ca6133a59 librados: fix the spelling error
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-05-31 20:35:39 +08:00
Mao Zhongyi
5d38acbab7 doc: update the discarded option '--delay' in command 'rbd trash mv'
I got the following error message when I used the command '#rbd trash
mv foo --delay' as a document:

rbd: unrecognised option '--delay'

so replace the discarded option '--delay' with '--expires-at' avoid
others getting into the same doubt. In addition, some spelling mistakes
were fixed.

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-05-31 20:35:03 +08:00
Lenz Grimmer
14dc5afcf9
Merge pull request #20822 from Devp00l/table-user-config
mgr/dashboard: Store user table configurations

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-31 11:11:22 +02:00
Kefu Chai
8aa592c46e
Merge pull request #22292 from tchaikov/wip-20924
osd,mon,msg: use intrusive_ptr for holding Connection::priv

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-31 13:31:03 +08:00
Neha Ojha
d96732d244 PG: do not choose stray osds as async_recovery_targets
Without this change, we might accept stray osds as async_recovery_targets,
and need to ensure that they get a chance to become part of the acting set
after recovery is over.

However, when choose_acting() is called in the Recovered state, we set
restrict_to_up_acting=true, which does not allow them to get back to the
acting set.

Therefore, similar to backfill, do not allow stray osds to become
async_recovery_targets.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-30 16:02:08 -07:00
Kefu Chai
72883956c2 mds,osd,mon,msg: use intrusive_ptr for holding Connection::priv
See-also: http://tracker.ceph.com/issues/20924
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-31 01:32:56 +08:00
Boris Ranto
9d317e5d23
Merge pull request #22010 from b-ranto/wip-expose-avgcount
Expose avgcount to the python modules

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-30 17:15:41 +02:00
Lenz Grimmer
a67681be3c
Merge pull request #22155 from tspmelo/fix-jest-coverage
mgr/dashboard: Fix Jest conflict with coverage files

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-30 17:14:02 +02:00
Boris Ranto
7f468f4d51 doc/prometheus: Mention the long running avg types
Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-30 16:13:36 +02:00
Boris Ranto
674118b6f6 prometheus: Expose sum/count pairs for avgs
This patch exposes the long running avgs as sum/count pairs in the
prometheus exporter module.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-30 16:13:36 +02:00
Boris Ranto
f79ff11302 mgr_module: Deal with long running avgs properly
We have recently started exposing long running avgs with the mgr python
modules but that only covers the total sum, not the avgcount.

With this patch, the counts for long running avgs are exposed to the
python modules allowing them to deal with the new data.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-30 16:13:36 +02:00
Boris Ranto
1164ef2f32 mgr: Expose avgcount for long running avgs
This provides a basic interface to export avg count for long running
averages.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-30 16:13:36 +02:00
Kefu Chai
301f041be7
Merge pull request #21711 from majianpeng/osd-reduce-safetimer
osd: combine recovery/scrub/snap sleep timer into one.

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-05-30 22:11:42 +08:00
Kefu Chai
579ce8fec3
Merge pull request #22085 from ifed01/wip-ifed-bs-tool-fix
tools/ceph-bluestore-tool: avoid mon/config access when calling global…

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-30 22:10:56 +08:00
Ricardo Dias
88ef62099c
Merge pull request #22323 from tspmelo/fix-formatter-unit-test
mgr/dashboard: Fix formatter service unit test

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-30 14:26:25 +01:00
Abhishek Lekshmanan
b4f6226972 doc: release/mimic: correct the changelog to the latest version
We were still having the changelog from mimic-dev1, update this to reflect the
current state of mimic

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-05-30 15:09:30 +02:00
Boris Ranto
8205c0128f
Merge pull request #22313 from b-ranto/wip-dashboard-fix-rate
dashboard: Return float if rate not available

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-30 14:36:09 +02:00
Tiago Melo
5058ff9607 mgr/dashboard: Fix formatter service unit test
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-30 13:22:42 +01:00
Yan, Zheng
c9731542ba
Merge pull request #22320 from ukernel/wip-24343
mds: properly journal root inode's snaprealm
2018-05-30 20:03:57 +08:00
Yan, Zheng
4f5029bdcc mds: properly journal root inode's snaprealm
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24343
2018-05-30 19:27:10 +08:00
Tiago Melo
ee8d250479 mgr/dashboard: Fix Jest conflict with coverage files
It seems 'jest --watch' is trying to determine the modules that are imported
inside the coverage folder.
Since this folder is not always up to date, when there are references to
nonexistent files, Jest will simply break and hang still.

I added an explicit rule for Jest to ignore this folder.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-30 12:06:13 +01:00
Ricardo Dias
547fdf96f8
mgr/dashboard: rest: add support for query params
This change adds the support for query params in the
@RESTController.Resource nd @RESTController.Collection decorators

Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-30 10:38:34 +01:00
Lenz Grimmer
f21df7672d
Merge pull request #21980 from Devp00l/wip-formatting-bug-24081
mgr/dashboard: Format small numbers correctly

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-30 11:31:00 +02:00
Lenz Grimmer
063d543f42
Merge pull request #22148 from ricardoasmarques/wip-duplicated-rbd
Prevent duplicated rows during async tasks

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-30 11:17:22 +02:00
Lenz Grimmer
b8582167d5
Merge pull request #22244 from tspmelo/wip-unit-test-services
mgr/dashboard: Add unit test to the frontend services

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-30 11:15:05 +02:00
Lenz Grimmer
4b061689e0
Merge pull request #22278 from votdev/prettify_rgw
mgr/dashboard: Prettify RGW JS code

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-05-30 11:13:56 +02:00
Kefu Chai
27310d9b4a
Merge pull request #22287 from tchaikov/wip-hex-dec-in-logging
src: balance std::hex and std::dec manipulators

Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-05-30 16:46:32 +08:00
Boris Ranto
58ffd14626 dashboard: Return float if rate not available
This fixes a test case issue when some of the data might not be
available during the test, yet. The test expects the second value to be
JFloat but that fails because get_rates return an int in that case.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-05-30 08:38:18 +02:00
Yan, Zheng
209f6c7f2f
Merge pull request #22307 from ukernel/wip-22240-1
mds: fix leak of MDSCacheObject::waiting
2018-05-30 11:36:07 +08:00
Yan, Zheng
8f3c8bf6ea mds: fix leak of MDSCacheObject::waiting
Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-30 11:24:16 +08:00
Yan, Zheng
758fd9dd6b
Merge pull request #22240 from ukernel/wip-24289
mds: fix some memory leak
2018-05-30 08:43:07 +08:00
Sage Weil
516be9bafe
Merge pull request #22305 from yehudasa/wip-rgw-mimic
docs: update rgw info for mimic
2018-05-29 17:15:18 -05:00
Yehuda Sadeh
bad3791d32 docs: update rgw info for mimic
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-05-29 15:00:20 -07:00
Kefu Chai
17803c91a6 src: balance std::hex and std::dec manipulators
we're caching the "t_os.streambuf", so the fmtflags persist across
log entries. to avoid this side effects, we should do the cleanup
before finishing each log entry.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-30 01:50:39 +08:00
Kefu Chai
949038ee69
Merge pull request #22280 from hjwsm1989/wip-osdmaptool
osdmaptool: fix wrong test_map_pgs_dump_all output

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-30 01:01:47 +08:00
John Spray
89f173c76a
Merge pull request #22157 from ceph/wip-doc-clear-config
doc/mgr: mention how to clear config setting

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2018-05-29 15:00:21 +01:00
Kefu Chai
29153159a8
Merge pull request #22286 from ifed01/wip-ifed-fix-release-build
cmake: enable RTTI for both debug and release RocksDB builds.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-29 21:58:50 +08:00
Matt Benjamin
f8dc475763
Merge pull request #22231 from linuxbox2/wip-get-irange
rgw: add configurable AWS-compat invalid range get behavior
2018-05-29 09:58:06 -04:00
Jason Dillaman
7c01362afc
Merge pull request #22203 from hydro-b/rbd-docu-fixes
doc: remove duplicate python packages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-29 09:41:47 -04:00