Commit Graph

82220 Commits

Author SHA1 Message Date
Victor Denisov
d95b791e8d qa/workunits/rbd: Add tests for consistency groups
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
50ca45fc95 rbd: Add group snapshot command
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
c7c7e5a75c librbd: Add group snapshot operations
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
efb05b5195 cls_rbd: Add group snapshot operations to cls_rbd
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Mykola Golub
797bd65565
Merge pull request #19919 from wjwithagen/wip-wjw-rbd-ggate-fix
rbd-ggate: fix syntax error.

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-11 17:09:52 +02:00
Sage Weil
6e8804810f
Merge pull request #19917 from yaozongyou/rgw-remove-unused-cls-user-add-bucket
rgw: remove unused cls_user_add_bucket

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-11 08:56:52 -06:00
Casey Bodley
29816d220f
Merge pull request #19699 from qrGitHub/wip-rgw-useless-line
rgw: remove useless lines in RGWDeleteBucket::execute

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-01-11 09:32:33 -05:00
John Spray
53348dc6cb
Merge pull request #19632 from Rubab-Syed/outreachy_mgr_dashboard
mgr/dashboard: Add monitor list

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-11 14:27:18 +00:00
Kefu Chai
baab5cd25d
Merge pull request #19898 from tchaikov/wip-cmake-build-with-clang
cmake: BuildBoost.cmake: use specified compiler for building boost

Reviewed-By: Casey Bodley <cbodley@redhat.com>
2018-01-11 20:48:25 +08:00
Radoslaw Zarzynski
02b3726eb0 rgw: drop dump_uri_from_state() which isn't used anymore.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-01-11 13:16:31 +01:00
Yan, Zheng
99d8c303ce client: fix cap revoke race
If caps are been revoking by the auth MDS, don't consider them as
issued even they are still issued by non-auth MDS. The non-auth
MDS should also be revoking/exporting these caps, the client just
hasn't received the cap revoke/export message.

The race I encountered is: When caps are exporting to new MDS, the
client receives cap import message and cap revoke message from the
new MDS, then receives cap export message from the old MDS. When
the client receives cap revoke message from the new MDS, the revoking
caps are still issued by the old MDS, so the client does nothing.
Later when the cap export message is received, the client removes
the caps issued by the old MDS. (Another way to fix the race is
calling ceph_check_caps() in handle_cap_export())

copid from kernel commit b1530f57

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-01-11 17:50:22 +08:00
Yan, Zheng
e05f14319a client: release revoking Fc after invalidate cache
this issue is likely revealed by commit 7bc1fa04
"client: avoid adding checked inode to the delayed_caps"

Fixes: http://tracker.ceph.com/issues/22652
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-01-11 16:31:58 +08:00
Willem Jan Withagen
da69ef23f0 rbd-ggate: fix syntax error.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-01-11 09:29:09 +01:00
Yao Zongyou
9db1198c2a rgw: remove unused cls_user_add_bucket
the function
`int cls_user_add_bucket(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries);`
is unsed and not implemented, so remove it.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2018-01-11 15:15:09 +08:00
Kefu Chai
98a38f408a
Merge pull request #19879 from jcsp/wip-doc-dashboard-standby
doc: update mgr/dashboard doc about standbys

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-11 14:27:19 +08:00
Kefu Chai
fd5a522928 cmake: check version of boost in src/boost
after bumping up the required boost version, old copy of boost in
src/boost will not work. so we need to error out early.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-11 13:19:15 +08:00
Josh Durgin
72c2076f2c config: lower default omap entries recovered at once
For large omap DBs, reading 64k leads to heartbeat timeouts.  There
are numerous callchains leading to this recovery step, many of which
do not have heartbeat handles, so for an easily backported version
just change the default number of entries read. DBs approaching 100GB
may require an even lower setting, but this should be good enough for
most clusters, without sacrificing recovery speed.

Fixes: http://tracker.ceph.com/issues/21897
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-01-10 21:47:15 -05:00
Kefu Chai
2bb1492a4a
Merge pull request #19642 from xiexingguo/wip-pending-new-state
osd/OSDMap.h: toss osd out if it has no more pending states

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-11 10:19:13 +08:00
Sage Weil
ac274b65cf
Merge pull request #19901 from vico-research-and-consulting/master
mgr/zabbix: monitoring template improvements

Reviewed-by: Wido den Hollander <wido@widodh.nl>
2018-01-10 15:38:19 -06:00
Sage Weil
f8815d29d6
Merge pull request #18833 from yuyuyu101/wip-async-perf
msg/async/AsyncConnection: combine multi alloc into one

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-10 15:37:41 -06:00
Yuri Weinstein
9b493c8aab
Merge pull request #18906 from ovh/bp-buffer-crc-improvements
common/buffer: switch crc cache to single pair instead of map

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 13:24:24 -08:00
Yuri Weinstein
519763341e
Merge pull request #19547 from tchaikov/wip-22344
ceph.in: print all matched commands if arg missing

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-01-10 13:23:28 -08:00
Yuri Weinstein
48c9a3fa7c
Merge pull request #19832 from shinobu-x/min_max_filestore
os: FileStore, Using stl min | max, MIN | MAX macros instead

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 13:22:40 -08:00
Yuri Weinstein
9bc2a15d97
Merge pull request #19874 from myoungwon/wip-fix-22641
osd: fix a valgrind issue (conditional jump depends on uninitialized value)

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-10 13:22:09 -08:00
Marc Schoechlin
0ac7c5f5b0 mgr/zabbix: monitoring template improvements
The changes need some review because i am currently not able to test this in a environment.
- added a host screen which displays all graphs in a convenient way
- replaced AVG by MAX Function in Graphs where maximum values are of
  high interest from operational view
- changed graph type to stacked where combined behavior is of interest
  (i.e. bandwidth and storage consumption)

Signed-off-by: Marc Schoechlin <ms@256bit.org>
2018-01-10 21:39:32 +01:00
Adam C. Emerson
8da07089df include: Remove fallback usings from encoding.h
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
19e029811c test: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
7597b12354 tools: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
fb264d77ad rgw: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
5fe1c6f948 rbd_replay: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
1cc6a6c44b osdc: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
46de629c3d osd: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:03:35 -05:00
Adam C. Emerson
d942b662ec os: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
5aed163b75 objclass: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
7ea02d327d msg: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
19fb1b290d mon: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
156c941ad0 mgr: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
f45e480e8e messages: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
c7582b787b mds: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
97f56e675a rbd: Use unqualified encode/decode
This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
2e70bc3703 librados: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
16fec46e5b kv: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
4caccb3341 key_value_store: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
17a887c17c journal: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
32a9f4048c include: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
a91a455fe6 crush: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
62c97dea24 compressor: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
06aa3dd961 cls: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
4eb497f325 client: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00
Adam C. Emerson
f46f5e6c8a auth: Use unqualified encode/decode
This is a portion of the namespace project.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-10 14:02:09 -05:00