Commit Graph

70645 Commits

Author SHA1 Message Date
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
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
Yuri Weinstein
937adde760 Merge pull request #14039 from dachary/wip-19307-set-deviceclass
mon/OSDMonitor: osd crush set-device-class

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 13:30:32 -07:00
Yuri Weinstein
4adfd07910 Merge pull request #14208 from dachary/wip-crush-uniform-weights
crush: bucket: crush_add_uniform_bucket_item should check for uniformity

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 13:28:41 -07:00
Yuri Weinstein
8e532b26e6 Merge pull request #14209 from dachary/wip-crush-create-default-tunables
crush: builder: creating crush map with optimal configurations

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 13:27:32 -07:00
Mykola Golub
712e7e9677 Merge pull request #14401 from dillaman/wip-rbd-import-fixes
rbd: correct issues with image importing

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-04-10 22:23:53 +03:00
Sage Weil
6208821d0f Merge pull request #14437 from cernceph/dvanders_mgrrotate
ceph-mgr: rotate logs on sighup

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-10 14:20:32 -05:00
Kefu Chai
e8f1f4a6d4 Merge pull request #14413 from hansbogert/patch-3
doc: rgw: remove mention of megabytes for quotas

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-04-11 00:25:25 +08:00
Dan van der Ster
19f56b4cc0 logrotate.conf: also sighup the ceph-mgr
Tell ceph-mgr to reopen its logs postrotate.

Fixes: http://tracker.ceph.com/issues/19568
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2017-04-10 17:34:48 +02:00
Kefu Chai
bbaac7bfdc Merge pull request #14430 from jcsp/wip-19566-monassert
mon: avoid segfault in wait_auth_rotating

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-10 23:31:06 +08:00
Dan van der Ster
44354e0089 ceph-mgr: reopen logs on SIGHUP
Wire up the sighup_handler to reopen logs, like the other daemons.

Fixes: http://tracker.ceph.com/issues/19568
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2017-04-10 17:29:05 +02:00
Kefu Chai
e053e18408 Merge pull request #14428 from tchaikov/wip-ceph_objectstore_tool-kill-all
tests: ceph_objectstore_tool.py: kill all daemons

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-10 23:16:09 +08:00
John Spray
d529121b60 Merge pull request #10636 from fullerdj/wip-djf-15069
cephfs: Permit recovering metadata into a new RADOS pool

Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-10 13:52:04 +01:00
John Spray
4d41492708 mon: avoid segfault in wait_auth_rotating
MonClient users should not be calling into MonClient
after calling shutdown().  However, MonClient should
assert out rather than proceeding to try and
follow a maybe-null pointer.

Related to http://tracker.ceph.com/issues/19566

Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-10 13:02:00 +01:00
Kefu Chai
d3de0036b4 tests: ceph_objectstore_tool.py: kill all daemons
init-ceph kills all daemons that can be identified by get_name_list() by
default, so no need to list them explicitly. also, without this change,
mgr is not stopped when the test finishes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-10 19:39:26 +08:00
Radoslaw Zarzynski
c80878a6bb Merge pull request #14280 from tone-zhang/bug_19442
rgw: fix response header of Swift API

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-04-10 11:51:55 +02:00
Kefu Chai
6caa1b647e Merge pull request #14378 from kestrels/wip-19454
arch: fix build on PowerPC with FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-10 16:01:26 +08:00
Brad Hubbard
b973c88dfa Merge pull request #14360 from joscollin/wip-Update-organizationmap
.organizationmap: Updated authors

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-10 12:34:44 +10:00
Jason Dillaman
0b61e113fd Merge pull request #13803 from trociny/wip-18785
rbd-mirror: separate ImageReplayer handling from Replayer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-09 09:59:57 -04:00
Kefu Chai
ce9c539563 Merge pull request #14406 from wjwithagen/wip-wjw-freebsd.readme
README.FreeBSD: Update the status

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-09 20:34:56 +08:00
Hans van den Bogert
b26f62265b doc: rgw: remove mention of megabytes for quotas
Remove mention of confusing reference to megabytes in opening paragraph of "quota management".
To remove further confusion, mention that setting a size for '--max-size' is in bytes by default.

Signed-off-by: Hans van den Bogert <hansbogert@gmail.com>
2017-04-09 13:40:29 +02:00
Willem Jan Withagen
f2afb81cc0 README.FreeBSD: Update the status
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-09 12:08:45 +02:00
Kefu Chai
654faeed16 Merge pull request #14397 from liewegas/wip-19541
osd/PG: only correct filestore collection bits on load

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-09 15:59:59 +08:00
Amir Vadai
f47025f837 msg/async/rdma: get_device() by ibv_context
This function will be used by RDMAConnCM

Issue: 995322
Change-Id: I52b684e8bbac14c1070801b2ba470c7c0dfe40b9
Signed-off-by: Amir Vadai <amir@vadai.me>
2017-04-09 07:30:31 +00:00
Amir Vadai
ce4677612f msg/async/rdma: Pass specific ConnMgr info in constructor
Pass specific information for RDMAConnTCP (and later for RDMAConnCM) in
the constructor.
This makes set_accept_fd() redundant.

Issue: 995322
Change-Id: I10b4a626f180858465a378e886a238fe187180d5
Signed-off-by: Amir Vadai <amir@vadai.me>
2017-04-09 07:22:41 +00:00
Sage Weil
2abb6d03ab Merge pull request #14382 from zealoussnow/wip-0407
messages: fix return type name of MOSDMap

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-08 13:28:23 -05:00
Sage Weil
b66bb7702d Merge pull request #14405 from wjwithagen/wip-wjw-gitignore
gitignore: Ignore rejects by patch

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-08 13:25:43 -05:00
Sage Weil
7156f9f416 Merge pull request #14261 from liewegas/wip-15386
ceph_test_librados_api_misc: fix stupid LibRadosMiscConnectFailure.ConnectFailure test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-04-08 13:24:22 -05:00
Sage Weil
175e33bd5b Merge pull request #14130 from liewegas/wip-json-slash
common/escape: do not escape / in json

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2017-04-08 13:21:44 -05:00
Sage Weil
14e7d6351a Merge pull request #14198 from liewegas/wip-fs
qa/suites: drop 'fs' facet, and add 'objectstore' facet where missing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-08 13:21:03 -05:00
Sage Weil
93f9f4acee Merge pull request #14255 from liewegas/wip-19430
osd/PrimaryLogPG: do not expect FULL_TRY ops to get resent

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-04-08 13:19:50 -05:00
Sage Weil
6db1193906 qa/workunits/cephtool/test.sh: handle non-escaped-/ json
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-08 14:19:00 -04:00
Willem Jan Withagen
084b1454ce gitignore: Ignore rejects by patch
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-08 16:53:25 +02:00
Sage Weil
9efc41f0ea Merge pull request #14386 from tchaikov/wip-19515
mon/OSDMonitor: update creating epoch if target osd changed

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-08 09:33:07 -05:00
Sage Weil
bcb17aa093 Merge pull request #14227 from ivancich/wip-perf-counter-race
common/perf_counters: fix race condition with atomic variables

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-04-08 09:22:53 -05:00
Sage Weil
5b8ea86c0f Merge pull request #14365 from tchaikov/wip-another-mgr-command
mgr: move "osd pool stats" to mgr

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-08 09:22:13 -05:00
Sage Weil
82b3c5daaa Merge pull request #14370 from chardan/jfw-wip-simple_spinlock_atomic
common: Implements simple_spin_t in terms of std::atomic_flag.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-08 09:21:38 -05:00
Kefu Chai
3f4c4bf4a8 Merge pull request #14379 from tchaikov/wip-cmake-ctags
cmake: support optional argument for overriding default ctag excludes

Reviewed-by: Dan Mick <dmick@redhat.com>
2017-04-08 11:44:27 +08:00
Kefu Chai
a5b38e448e tests: ceph_objectstore_tool.py: run vstart with MGR=1
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-08 10:42:43 +08:00
Jason Dillaman
a5d0d0ca08 qa/workunits: partial revert of commit 5b486d9
Testing for disk usage and diff extents for a sparsely written
imported RBD image cannot generically be handled across different
OSD object stores and RBD image features.

The only alternatives would include grepping the rbd CLI
debug log for specific invocations of aio_write or mocking
the rbd CLI for unit testing.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-04-07 21:06:37 -04:00
Jason Dillaman
2188a7b23b rbd: import-diff was attempting to write empty chunks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-04-07 21:06:29 -04:00