Kefu Chai
5a00a450b7
Merge pull request #14438 from theanalyst/fix/build-doc
...
script: build-doc/serve-doc fixes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-11 22:10:37 +08:00
Nathan Cutler
a5b19d2d73
tests: Thrasher: handle "OSD has the store locked" gracefully
...
On slower machines (VPS, OVH) it takes time for the OSD to go down.
Fixes: http://tracker.ceph.com/issues/19556
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-04-11 16:09:45 +02:00
Sage Weil
b8dc3783c7
Merge pull request #14455 from optimistyzy/411_1
...
os/bluestore/NVMEDevice: fix the compilation issue for collect_metadata
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-11 08:47:40 -05:00
John Spray
93f1b90403
Merge pull request #13698 from ukernel/wip-multimds-misc
...
mds: miscellaneous multimds fixes
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-11 14:06:19 +01:00
Jason Dillaman
ca1a132d5a
Merge pull request #14453 from trociny/wip-test_mock_InstanceWatcher
...
test/rbd_mirror: race in TestMockInstanceWatcher on destroy
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-11 08:10:20 -04:00
Ricardo Dias
6b54288793
pybind: librbd: added trash API to python RBD binding
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
b844f58481
qa/workunits/rbd: cli testing of rbd trash commands
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
3138bdfba3
rbd: added image-id optional to Info command
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
cad8952bed
rbd: Added image-id optional to Snap commands
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
dba8eb7e3c
rbd: added image_id param to Utils::init_and_open_image
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
46de06ebb2
rbd: added group image remove by id to CLI
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
9438ee9353
librbd: added group image remove by id to API
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
0a25ea0036
rbd: added CLI support for trash operations
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
b70dbccb67
librbd: added trash methods to API
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
cde8a9a3eb
librbd: open image gets name from directory or trash
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
d5e947946b
librbd: added open an image by id to API
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ricardo Dias
c7003e0546
cls_rbd: methods to manipulate the rbd_trash object
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-04-11 12:09:41 +01:00
Ziye Yang
3a3d020d33
bluestore/NVMEDevice: fix the compilation issue for collect_metadata
...
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-04-11 18:36:09 +08:00
Mykola Golub
abc04e022a
test/rbd_mirror: race in TestMockInstanceWatcher on destroy
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-11 11:55:59 +02:00
Loic Dachary
55491d2f8a
Merge pull request #14295 from theanalyst/release/10.2.7/notes
...
doc: release notes for v10.2.7 Jewel
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-11 11:44:29 +02:00
Loic Dachary
a8a71c1d27
Merge pull request #14441 from theanalyst/doc/changelog/v10.2.7
...
doc: add changelog for v10.2.7
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-11 11:43:15 +02:00
Kefu Chai
1efff5297f
Merge pull request #14426 from tchaikov/wip-13562-kefu
...
misc: SCA fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-11 17:41:56 +08:00
Brad Hubbard
5f48598576
test: Silence cppcheck memory leak warnings in ceph_test_rados_api_io
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-11 12:22:20 +10:00
Brad Hubbard
02f40f6de4
denc: Silence cppcheck uninitialised variable errors
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-11 12:22:20 +10:00
Brad Hubbard
18107e2b49
common: Restructure cppcheck suppresions
...
Some of the suppressions are currently redundant and some need to be
changed.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-11 12:22:20 +10:00
Brad Hubbard
98283161cc
crypto: Suppress cppcheck error
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-11 11:59:21 +10:00
Brad Hubbard
36a8a869c6
blkdev: Suppress cppcheck error
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-11 11:59:21 +10:00
Adam C. Emerson
ef94464f75
librados: Since a pragma push was removed, get rid of that pop
...
Don't you think the plural of pragma should be pragmata?
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
8be4b9712e
cmake: Make -Wno-unknown-pragmas common to all compilers
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
e8382a2f60
bluestore: Remove unused expression in statement
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
25a681bb1c
filestore: Fix uninitialized return
...
In some error conditions we were returning the value of an
uninitialized variable.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
ba612d97ad
rbd: Remove pessimizing move
...
Do not std::move returned values.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
7f0a5498c6
cls: Fix order of operations of std::string constructor
...
Presumably the intent was to create a string with 128 '1's, rather than
a string with 49 '\200's.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
3c4811fad3
rgw: Remove pessimizing move of return values
...
C++ performs copy elision of return values if:
1. The value is a local declared in the function (i.e. not a
parameter)
2. The type of the value in the return statement is, modulo
const-value qualification, identical to the return type of the
function.
An RValue reference to a type is not identical, modulo const-value
qualification, to the type it is a reference to.
Do not std::move local values in the return statement unless the value
is a parameter or you will make the compiler perform a copy it would
iotherwise avoid.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
5b517ad4cf
rgw: Make AuthResult::get_completer return rvalue reference
...
Since we are explicitly moving the completer out of the AuthResult
and allowing the client to have ownership of it, simply return an
rvalue reference rather than moving into a temporary that is itself
returned.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
568d60631c
msg: Remove pessimizing move
...
Do not std::move the result of a function returning a value.
(Once could reasonably std::move the result of a function returning an
lvalue reference, but *not* that of one returning a value.)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
7d344d137a
osd: The shard_id_t constructor takes an int8_t
...
So pass it -1 rather than 255 to avoid an implicit conversion warning.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Adam C. Emerson
05fed82cf4
monc: Remove pessimizing move
...
Calling std::move on on a function returning a value can interfere
with RVO. At best it has no effect, but can actively interfere with
Copy/Move Elision and make code less efficient.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-04-10 21:57:14 -04:00
Haomai Wang
5da652e1d9
Merge pull request #13940 from Adirl/out
...
msg/async/rdma: Update fix broken compilation
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-11 09:13:03 +08:00
Haomai Wang
1a9ab802e8
Merge pull request #14409 from Adirl/conn_info
...
msg/async/rdma: RDMA-CM, Pass specific ConnMgr info in constructor
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-11 09:11:39 +08:00
Haomai Wang
fd1e65fe21
Merge pull request #14410 from Adirl/get_device
...
msg/async/rdma: RDMA-CM, get_device() by ibv_context
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-11 09:10:26 +08:00
Sage Weil
7e547a10b1
Merge pull request #13073 from chardan/jfw-wip-15475-admin_heap_command
...
osd: add "heap *" admin command
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-04-10 16:24:14 -05:00
Sage Weil
a320d62cf6
Merge pull request #14235 from nvedant07/bug_fix_3
...
rados: more info added to pool deletion error
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 16:23:18 -05:00
Sage Weil
95d7a531e2
Merge pull request #14022 from batrick/admin-socket-close-error
...
common: do not print error when asok is closed
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 16:22:59 -05:00
Sage Weil
5adc257715
Merge pull request #14292 from joscollin/wip-radosacl-warning
...
tools: warning, ‘%.16x’ directive output truncated writing 16 bytes into a region of size 9.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-10 16:22:37 -05:00
Sage Weil
180ff1f47e
Merge pull request #14301 from Andrey1994/master
...
build: Add Virtuozzo Linux support
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 16:22:21 -05:00
Sage Weil
d7e01f6913
Merge pull request #14336 from Adirl/fix_sockaddr
...
src/msg/async: Update fix broken compilation for Posix
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-04-10 16:22:07 -05:00
Loic Dachary
83b695f08e
osd: split mon_cmd_maybe_osd_create out of update_crush_location
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-04-10 23:21:29 +02:00
Loic Dachary
7c2fbca0df
mon: set-device-class implicitly creates OSD
...
If the OSD does not exist in the crushmap, it is implicitly created.
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-04-10 22:55:22 +02:00
Abhishek Lekshmanan
fb9405ea6c
doc: add changelog for v10.2.7
...
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-04-10 22:44:12 +02:00