]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agorgw : fix race in RGWCompleteMultipart 16732/head
Abhishek Varshney [Tue, 1 Aug 2017 14:46:52 +0000 (14:46 +0000)]
rgw : fix race in RGWCompleteMultipart

Fixes : http://tracker.ceph.com/issues/20861

Signed-off-by: Abhishek Varshney <abhishek.varshney@flipkart.com>
7 years agoMerge pull request #16377 from theanalyst/doc/release-notes/12.1.1
Sage Weil [Wed, 2 Aug 2017 16:02:59 +0000 (11:02 -0500)]
Merge pull request #16377 from theanalyst/doc/release-notes/12.1.1

doc: 12.1.1 & 12.1.2 release notes

7 years agoMerge pull request #16308 from joscollin/wip-rbd-nbd-return-values
Yuri Weinstein [Wed, 2 Aug 2017 16:01:27 +0000 (09:01 -0700)]
Merge pull request #16308 from joscollin/wip-rbd-nbd-return-values

tools/rbd, rgw: Removed unreachable returns

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16370 from rzarzynski/wip-rgw-swift-prefixed-tempurls
Yuri Weinstein [Wed, 2 Aug 2017 16:00:42 +0000 (09:00 -0700)]
Merge pull request #16370 from rzarzynski/wip-rgw-swift-prefixed-tempurls

rgw: add support for Swift's TempURLs with prefix-based scope

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16442 from theanalyst/rgw-admin-tenant-validate
Yuri Weinstein [Wed, 2 Aug 2017 15:59:54 +0000 (08:59 -0700)]
Merge pull request #16442 from theanalyst/rgw-admin-tenant-validate

rgw: validate tenant names during user create.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
7 years agoMerge pull request #16485 from rzarzynski/wip-rgw-s3anonauthengine
Yuri Weinstein [Wed, 2 Aug 2017 15:58:15 +0000 (08:58 -0700)]
Merge pull request #16485 from rzarzynski/wip-rgw-s3anonauthengine

rgw: move the S3 anonymous auth handling to a dedicated engine.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16690 from scienceluo/wip-luo-unused-var-branch
Yuri Weinstein [Wed, 2 Aug 2017 15:57:33 +0000 (08:57 -0700)]
Merge pull request #16690 from scienceluo/wip-luo-unused-var-branch

common/rgw/rbd: remove some unused variables

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16692 from oritwas/wip-rgw-dir-suggest
Yuri Weinstein [Wed, 2 Aug 2017 15:56:52 +0000 (08:56 -0700)]
Merge pull request #16692 from oritwas/wip-rgw-dir-suggest

rgw: Fix up to 1000 entries at a time in check_bad_index_multipart

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agodoc: release notes for v12.1.2 16377/head
Abhishek Lekshmanan [Tue, 25 Jul 2017 18:56:56 +0000 (20:56 +0200)]
doc: release notes for v12.1.2

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
7 years agodoc: 12.1.1 release notes add major changes
Abhishek Lekshmanan [Wed, 2 Aug 2017 15:41:13 +0000 (17:41 +0200)]
doc: 12.1.1 release notes add major changes

Also cleanup PendingReleasenotes to an empty file so that only newer
changes are tracked, adding the relevant section back to
RC1 where relevant. Moving all the RC1 announcements back to RC2, when
we go to 12.2.0 we'll collapse all of these back to the release
announcments

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
7 years agodoc: 12.1.1 release notes
Abhishek Lekshmanan [Mon, 17 Jul 2017 20:08:54 +0000 (22:08 +0200)]
doc: 12.1.1 release notes

Adding the changelog from 12.1.0 -> 12.1.1

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #16759 from liewegas/wip-powercycle-health
Sage Weil [Wed, 2 Aug 2017 15:07:06 +0000 (10:07 -0500)]
Merge pull request #16759 from liewegas/wip-powercycle-health

qa/suites/powercycle: whitelist health for thrashing

7 years agoqa/suites/powercycle: whitelist health for thrashing 16759/head
Sage Weil [Wed, 2 Aug 2017 15:06:43 +0000 (11:06 -0400)]
qa/suites/powercycle: whitelist health for thrashing

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16758 from ceph/luminous
Sage Weil [Wed, 2 Aug 2017 14:46:37 +0000 (09:46 -0500)]
Merge pull request #16758 from ceph/luminous

sync luminous tag back to master

7 years agoMerge pull request #16535 from liewegas/wip-osd-shard-init
Sage Weil [Wed, 2 Aug 2017 14:10:54 +0000 (09:10 -0500)]
Merge pull request #16535 from liewegas/wip-osd-shard-init

osd: initialize waiting_for_pg_osdmap on startup

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16684 from tchaikov/wip-pybind-replace-deprecated-apis
Sage Weil [Wed, 2 Aug 2017 14:10:26 +0000 (09:10 -0500)]
Merge pull request #16684 from tchaikov/wip-pybind-replace-deprecated-apis

pybind/rados: use new APIs instead of deprecated ones

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16735 from dillaman/wip-20869
Sage Weil [Wed, 2 Aug 2017 14:08:40 +0000 (09:08 -0500)]
Merge pull request #16735 from dillaman/wip-20869

common: avoid statically allocating configuration options

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16747 from tchaikov/wip-doc-fixes
Sage Weil [Wed, 2 Aug 2017 13:11:41 +0000 (08:11 -0500)]
Merge pull request #16747 from tchaikov/wip-doc-fixes

doc: document bluestore compression settings

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc: document bluestore compression settings 16747/head
Kefu Chai [Wed, 2 Aug 2017 07:35:29 +0000 (15:35 +0800)]
doc: document bluestore compression settings

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/man/8/radosgw-admin: document --compression option
Kefu Chai [Wed, 2 Aug 2017 08:21:40 +0000 (16:21 +0800)]
doc/man/8/radosgw-admin: document --compression option

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16741 from liewegas/wip-more-doc-links
Kefu Chai [Wed, 2 Aug 2017 05:52:38 +0000 (13:52 +0800)]
Merge pull request #16741 from liewegas/wip-more-doc-links

doc/release-notes: fix links, formatting; add crush device class docs

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16722 from tchaikov/wip-qa-fixes
Kefu Chai [Wed, 2 Aug 2017 05:00:01 +0000 (13:00 +0800)]
Merge pull request #16722 from tchaikov/wip-qa-fixes

qa/suites: escape the parenthesis of the whitelist text

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16474 from shun-s/wip-fix-deactive
Kefu Chai [Wed, 2 Aug 2017 04:58:34 +0000 (12:58 +0800)]
Merge pull request #16474 from shun-s/wip-fix-deactive

ceph-disk: do not remove mount point if deactive --once

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites: more whitelisting 16722/head
Kefu Chai [Wed, 2 Aug 2017 02:00:23 +0000 (10:00 +0800)]
qa/suites: more whitelisting

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/release-notes: clean up links 16741/head
Sage Weil [Tue, 1 Aug 2017 16:00:32 +0000 (12:00 -0400)]
doc/release-notes: clean up links

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/rados/operations/crush-map: more device class docs
Sage Weil [Tue, 1 Aug 2017 16:14:51 +0000 (12:14 -0400)]
doc/rados/operations/crush-map: more device class docs

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16700 from jcsp/wip-20803
Sage Weil [Tue, 1 Aug 2017 19:13:00 +0000 (14:13 -0500)]
Merge pull request #16700 from jcsp/wip-20803

osd/mon/mds: fix `config set` tell command

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16701 from jcsp/wip-health-format
Sage Weil [Tue, 1 Aug 2017 19:12:28 +0000 (14:12 -0500)]
Merge pull request #16701 from jcsp/wip-health-format

mon: extensible output format for health checks

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16706 from jdurgin/wip-20850
Sage Weil [Tue, 1 Aug 2017 19:12:01 +0000 (14:12 -0500)]
Merge pull request #16706 from jdurgin/wip-20850

osd: do not try to set device class before luminous

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16712 from gregsfortytwo/wip-20808
Sage Weil [Tue, 1 Aug 2017 19:11:29 +0000 (14:11 -0500)]
Merge pull request #16712 from gregsfortytwo/wip-20808

osd: pg: be more careful with locking around forced pg recovery

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16688 from amitkumar50/cov-1395347-1
Gregory Farnum [Tue, 1 Aug 2017 18:25:20 +0000 (11:25 -0700)]
Merge pull request #16688 from amitkumar50/cov-1395347-1

os: Argument cannot be negative

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years ago12.1.2 16758/head v12.1.2
Jenkins Build Slave User [Tue, 1 Aug 2017 17:55:40 +0000 (17:55 +0000)]
12.1.2

7 years agoMerge pull request #15801 from zhangsw/feature-bucket-sync
Casey Bodley [Tue, 1 Aug 2017 17:13:18 +0000 (13:13 -0400)]
Merge pull request #15801 from zhangsw/feature-bucket-sync

rgw multisite: feature of bucket sync enable/disable

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agocommon: avoid statically allocating configuration options 16735/head
Jason Dillaman [Tue, 1 Aug 2017 16:02:06 +0000 (12:02 -0400)]
common: avoid statically allocating configuration options

This was resulting in seg faults within rbd-fuse during shutdown. This also
fixes the "variable tracking size limit exceeded with -fvar-tracking-assignments,
retrying without" compiler warning".

Fixes: http://tracker.ceph.com/issues/20869
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16616 from tchaikov/wip-doc-cleanup
Sage Weil [Tue, 1 Aug 2017 16:01:09 +0000 (11:01 -0500)]
Merge pull request #16616 from tchaikov/wip-doc-cleanup

doc: remove docs on non-existant command

7 years agorbd-fuse: remove dependency on ceph-common
Jason Dillaman [Tue, 1 Aug 2017 15:54:34 +0000 (11:54 -0400)]
rbd-fuse: remove dependency on ceph-common

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16727 from jcsp/wip-doc-config-hel
Kefu Chai [Tue, 1 Aug 2017 15:38:28 +0000 (23:38 +0800)]
Merge pull request #16727 from jcsp/wip-doc-config-hel

doc/qa: cover `config help` command

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16707 from ivancich/wip-more-dmclock-docs
Kefu Chai [Tue, 1 Aug 2017 15:37:53 +0000 (23:37 +0800)]
Merge pull request #16707 from ivancich/wip-more-dmclock-docs

doc: Describe mClock's use within Ceph in great detail.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16730 from liewegas/wip-more-doc-links
Sage Weil [Tue, 1 Aug 2017 15:21:39 +0000 (10:21 -0500)]
Merge pull request #16730 from liewegas/wip-more-doc-links

doc/release-notes: fix upmap and osd replacement links; add fixme

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/release-notes: fix a few doc links 16730/head
Sage Weil [Tue, 1 Aug 2017 15:06:21 +0000 (11:06 -0400)]
doc/release-notes: fix a few doc links

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16653 from amitkumar50/Coverity-1409697
Jos Collin [Tue, 1 Aug 2017 14:47:54 +0000 (14:47 +0000)]
Merge pull request #16653 from amitkumar50/Coverity-1409697

rgw: Use comparison instead of assignment

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoos: Argument cannot be negative 16688/head
amitkuma [Mon, 31 Jul 2017 14:53:32 +0000 (20:23 +0530)]
os: Argument cannot be negative
Fixed:

** CID 1395347 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
3. negative_returns: fd is passed to a parameter that cannot be negative

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agoMerge pull request #16656 from idryomov/wip-qa-newer-fio
Jason Dillaman [Tue, 1 Aug 2017 14:14:46 +0000 (10:14 -0400)]
Merge pull request #16656 from idryomov/wip-qa-newer-fio

qa/tasks/rbd_fio: bump default fio version to 2.21

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: initialize shardedwq osdmap references on startup 16535/head
Sage Weil [Tue, 1 Aug 2017 13:58:28 +0000 (09:58 -0400)]
osd: initialize shardedwq osdmap references on startup

The _process methods assumes the shard osdmap refs are
non-null, but that leaves a window between startup and
the first call to prune_pg_waiters (via consume_map()),
which can lead to a seg fault.

Calling prune during startup, before we have any work,
will initialize those references.

Fixes: http://tracker.ceph.com/issues/20748
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites: escape the parenthesis of the whitelist text
Kefu Chai [Tue, 1 Aug 2017 08:47:07 +0000 (16:47 +0800)]
qa/suites: escape the parenthesis of the whitelist text

so we can avoid the warnings like

grep: Unmatched ( or \(

because we pass the whitelisted string to `egrep -v "$1"` directly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/workunits/ceph-disk: fix the path to ceph-helpers-root.sh
Kefu Chai [Tue, 1 Aug 2017 08:47:21 +0000 (16:47 +0800)]
qa/workunits/ceph-disk: fix the path to ceph-helpers-root.sh

partially reverts 841f3bd

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16652 from shangzhong/wip-update-quick-guide
Kefu Chai [Tue, 1 Aug 2017 13:50:52 +0000 (21:50 +0800)]
Merge pull request #16652 from shangzhong/wip-update-quick-guide

doc: update the pool names created by vstart.sh by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16637 from ceph/wip-doc-links
Sage Weil [Tue, 1 Aug 2017 13:50:02 +0000 (08:50 -0500)]
Merge pull request #16637 from ceph/wip-doc-links

doc: upmap docs; various missing links for release notes

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/release-notes: add various links to docs 16637/head
Sage Weil [Thu, 27 Jul 2017 19:11:52 +0000 (15:11 -0400)]
doc/release-notes: add various links to docs

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/rados/operations/upmap: document new upmap feature
Sage Weil [Thu, 27 Jul 2017 19:11:44 +0000 (15:11 -0400)]
doc/rados/operations/upmap: document new upmap feature

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #15838 from theanalyst/doc-pool-ns-update
Sage Weil [Tue, 1 Aug 2017 13:39:18 +0000 (08:39 -0500)]
Merge pull request #15838 from theanalyst/doc-pool-ns-update

doc: update the rados namespace docs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16623 from xiexingguo/wip-weightset
Sage Weil [Tue, 1 Aug 2017 13:29:29 +0000 (08:29 -0500)]
Merge pull request #16623 from xiexingguo/wip-weightset

crush: a couple of weight-set fixes

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16611 from liewegas/wip-doc-health
Sage Weil [Tue, 1 Aug 2017 13:26:24 +0000 (08:26 -0500)]
Merge pull request #16611 from liewegas/wip-doc-health

doc/rados/operations/health-checks: osd section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc/rados/operations/health-checks: add PG health check commentary 16611/head
Sage Weil [Tue, 1 Aug 2017 13:25:27 +0000 (09:25 -0400)]
doc/rados/operations/health-checks: add PG health check commentary

Include a link to pg-repair.rst, although there is no
content there yet.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: include which pgs have unfound objects in detail
Sage Weil [Thu, 27 Jul 2017 18:28:14 +0000 (14:28 -0400)]
mon/PGMap: include which pgs have unfound objects in detail

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: put the _toofull states under DEGRADED_FULL
Sage Weil [Thu, 27 Jul 2017 17:54:46 +0000 (13:54 -0400)]
mon/PGMap: put the _toofull states under DEGRADED_FULL

I think this was an oversight?

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: 'incomplete' means data is unavailable
Sage Weil [Thu, 27 Jul 2017 17:54:29 +0000 (13:54 -0400)]
mon/PGMap: 'incomplete' means data is unavailable

Well, data is certainly unavailable, and may also be
degraded in the sense that we can't peer.  I think
unavailable is the more severe of the two, though, so
let's put it there!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/rados/operations/health-checks: osd section
Sage Weil [Thu, 27 Jul 2017 02:05:35 +0000 (22:05 -0400)]
doc/rados/operations/health-checks: osd section

First paragraph: explain what the error means.

Second or later paragraph: describe steps to fix or mitigate.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc: change the default filesystem/pool names 16652/head
Zhu Shangzhong [Fri, 28 Jul 2017 12:20:33 +0000 (20:20 +0800)]
doc: change the default filesystem/pool names
- s/cephfs_data/cephfs_data_a
- s/cephfs_metadata/cephfs_metadata_a
- s#./rados df#bin/rados df
- update the 'bin/rados df' output
- remove the rbd pool, it isn't created by default anymore.

Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
7 years agoqa: include `config help` in admin socket test 16727/head
John Spray [Tue, 1 Aug 2017 12:38:40 +0000 (13:38 +0100)]
qa: include `config help` in admin socket test

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agodoc: document `config help` command
John Spray [Tue, 1 Aug 2017 12:38:27 +0000 (13:38 +0100)]
doc: document `config help` command

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16721 from joscollin/wip-config-rst-typo
Jos Collin [Tue, 1 Aug 2017 11:21:59 +0000 (11:21 +0000)]
Merge pull request #16721 from joscollin/wip-config-rst-typo

doc: fix typo in config.rst

Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16723 from tchaikov/wip-doc-kill-warnings
John Spray [Tue, 1 Aug 2017 11:06:36 +0000 (12:06 +0100)]
Merge pull request #16723 from tchaikov/wip-doc-kill-warnings

doc: various fixes

7 years agoMerge pull request #16471 from jan--f/janf-mds-deactivate-doc
Kefu Chai [Tue, 1 Aug 2017 10:52:59 +0000 (18:52 +0800)]
Merge pull request #16471 from jan--f/janf-mds-deactivate-doc

doc: reword mds deactivate docs; add optional fs_name argument

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #16620 from cfanz/master
Kefu Chai [Tue, 1 Aug 2017 09:45:06 +0000 (17:45 +0800)]
Merge pull request #16620 from cfanz/master

common: use std::move() for better performance

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16526 from TsaiJin/wip-fix-msg-typo
Kefu Chai [Tue, 1 Aug 2017 09:40:27 +0000 (17:40 +0800)]
Merge pull request #16526 from TsaiJin/wip-fix-msg-typo

msg/async: fix the bug of inaccurate calculation of l_msgr_send_bytes

Reviewed-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #16666 from scienceluo/wip-luo-auth-branch
Kefu Chai [Tue, 1 Aug 2017 09:38:08 +0000 (17:38 +0800)]
Merge pull request #16666 from scienceluo/wip-luo-auth-branch

auth: Remove unused function in AuthSessionHandler

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: various fixes 16723/head
Kefu Chai [Tue, 1 Aug 2017 09:16:39 +0000 (17:16 +0800)]
doc: various fixes

- radosgw/s3/bucketops.rst: fix Malformed table.
- operations/health-checks.rst: Title underline too short
- rbd/rados-rbd-cmds.rst: Title underline too short
- rados/operations/index.rst: include health-checks in toc

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: fix typo in config.rst 16721/head
Jos Collin [Tue, 1 Aug 2017 08:40:42 +0000 (14:10 +0530)]
doc: fix typo in config.rst

Fixed the typo introduced by PR#16681

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16622 from dillaman/wip-cmpext-dne
Josh Durgin [Tue, 1 Aug 2017 06:52:43 +0000 (23:52 -0700)]
Merge pull request #16622 from dillaman/wip-cmpext-dne

osd: cmpext operator should ignore -ENOENT on read

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoosd: pg: be more careful with locking around forced pg recovery 16712/head
Greg Farnum [Tue, 1 Aug 2017 02:52:42 +0000 (19:52 -0700)]
osd: pg: be more careful with locking around forced pg recovery

This does several little things that add up to big concurrency and safety
improvements:
* Switch to passing around PGRefs instead of raw pointers, which is
  generally a good idea
* drop the pg_map_lock once we're done looking up the PGRefs, since
  we don't need it and holding the PG pointer alive was the only previous
  thing that might have made it necessary
* don't hold the recovery_lock since we don't need any OSD-level
  synchronization
* make sure the PG is not being deleted before we do a force-change of its
  state

Fixes: http://tracker.ceph.com/issues/20808
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16677 from tchaikov/wip-20785
Kefu Chai [Tue, 1 Aug 2017 05:12:53 +0000 (13:12 +0800)]
Merge pull request #16677 from tchaikov/wip-20785

osd: do not send pg_created unless luminous

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agomon/OSDMonitor: make setting require-osd-release idempotent 16706/head
Josh Durgin [Tue, 1 Aug 2017 01:51:47 +0000 (21:51 -0400)]
mon/OSDMonitor: make setting require-osd-release idempotent

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoosd: do not try to set device class before luminous
Josh Durgin [Mon, 31 Jul 2017 15:59:18 +0000 (11:59 -0400)]
osd: do not try to set device class before luminous

This avoids crashing when older monitors do not support it.

Fixes: http://tracker.ceph.com/issues/20850
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16663 from dzafman/wip-ec-enoent
David Zafman [Tue, 1 Aug 2017 01:19:02 +0000 (18:19 -0700)]
Merge pull request #16663 from dzafman/wip-ec-enoent

osd: EC read handling: don't grab an objectstore error to use as the read error

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16681 from shun-s/wip-doc-config
Jos Collin [Tue, 1 Aug 2017 00:59:06 +0000 (00:59 +0000)]
Merge pull request #16681 from shun-s/wip-doc-config

doc: fix typos in config.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16695 from tchaikov/wip-cmake-disable-vta
Gregory Farnum [Mon, 31 Jul 2017 22:05:23 +0000 (15:05 -0700)]
Merge pull request #16695 from tchaikov/wip-cmake-disable-vta

cmake: disable -fvar-tracking-assignments for config.cc

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16697 from wjwithagen/wip-wjw-ENODATA-HashIndex.cc
Gregory Farnum [Mon, 31 Jul 2017 21:59:43 +0000 (14:59 -0700)]
Merge pull request #16697 from wjwithagen/wip-wjw-ENODATA-HashIndex.cc

HashIndex.cc: add compat.h for ENODATA

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16689 from pritha-srivastava:wip-rgw-policy-parse-error
Adam C. Emerson [Mon, 31 Jul 2017 18:43:58 +0000 (14:43 -0400)]
Merge pull request #16689 from pritha-srivastava:wip-rgw-policy-parse-error

rgw: Fix for Policy Parse exception in case of multiple statements.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #16661 from adamemerson/wip-throttle-minimal
Adam C. Emerson [Mon, 31 Jul 2017 18:08:20 +0000 (14:08 -0400)]
Merge pull request #16661 from adamemerson/wip-throttle-minimal

throttle: Minimal destructor fix for Luminous

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agodoc: Describe mClock's use within Ceph in great detail. 16707/head
J. Eric Ivancich [Mon, 31 Jul 2017 17:18:02 +0000 (13:18 -0400)]
doc: Describe mClock's use within Ceph in great detail.

It seems many are initially unclear as to how the current
implementations of mclock op queues work, so we need to document it to
avoid confusion.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agothrottle: Minimal destructor fix for Luminous 16661/head
Adam C. Emerson [Fri, 28 Jul 2017 18:14:48 +0000 (14:14 -0400)]
throttle: Minimal destructor fix for Luminous

Get rid of the undefined behavior of destroying condition variables
while they're being waited on.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #16547 from dillaman/wip-dashboard-iscsi
Jason Dillaman [Mon, 31 Jul 2017 14:22:21 +0000 (10:22 -0400)]
Merge pull request #16547 from dillaman/wip-dashboard-iscsi

mgr/dashboard: RBD iSCSI daemon status page

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agodoc: fix sevral typos 16681/head
Song Shun [Sun, 30 Jul 2017 10:25:01 +0000 (18:25 +0800)]
doc: fix sevral typos

  fix sevral typos

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
7 years agoMerge pull request #16670 from Yan-waller/wip-walle-0729rbdcompile
Jason Dillaman [Mon, 31 Jul 2017 14:07:45 +0000 (10:07 -0400)]
Merge pull request #16670 from Yan-waller/wip-walle-0729rbdcompile

cls/rbd: silence warning from -Wunused-variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16583 from lxbsz/ws_macro
Jason Dillaman [Mon, 31 Jul 2017 13:49:13 +0000 (09:49 -0400)]
Merge pull request #16583 from lxbsz/ws_macro

librbd: add LIBRBD_SUPPORTS_WRITESAME support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agomon: extensible output format for health checks 16701/head
John Spray [Fri, 28 Jul 2017 15:18:07 +0000 (11:18 -0400)]
mon: extensible output format for health checks

The summary field can be extended with the fields
used to construct the message (e.g. including
the down osd count in the message about osds
being down).

The detail entries, similarly, can be extended
with machine-readable fields like the PG ID
for a damaged PG.

For the moment all the internal stuff is just
strings still, but we change the output format
so that we don't break it later when we
add things.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoosd/mon/mds: fix `config set` tell command 16700/head
John Spray [Mon, 31 Jul 2017 09:52:08 +0000 (05:52 -0400)]
osd/mon/mds: fix `config set` tell command

This was working for setting values, but failing to call
the config observers, so some values didn't take effect.

Fixes: http://tracker.ceph.com/issues/20803
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agocls/rbd: silence warning from -Wunused-variable 16670/head
Yan Jun [Mon, 31 Jul 2017 13:26:13 +0000 (21:26 +0800)]
cls/rbd: silence warning from -Wunused-variable

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
7 years agoMerge pull request #16694 from Songweibin/wip-doc-rbd
Jason Dillaman [Mon, 31 Jul 2017 13:12:27 +0000 (09:12 -0400)]
Merge pull request #16694 from Songweibin/wip-doc-rbd

rbd: modified some commands' description into imperative sentence

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoHashIndex.cc: add compat.h for ENODATA 16697/head
Willem Jan Withagen [Mon, 31 Jul 2017 13:02:53 +0000 (15:02 +0200)]
HashIndex.cc: add compat.h for ENODATA

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agomon/OSDMonitor: assert(pg in creating_pgs.pg) in send_pg_creates() 16677/head
Kefu Chai [Sun, 30 Jul 2017 05:07:02 +0000 (13:07 +0800)]
mon/OSDMonitor: assert(pg in creating_pgs.pg) in send_pg_creates()

and mark OSDMonitor::send_pg_creates() a const method.

See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16686 from amitkumar50/cov-1351525-1
Jason Dillaman [Mon, 31 Jul 2017 12:53:40 +0000 (08:53 -0400)]
Merge pull request #16686 from amitkumar50/cov-1351525-1

rbd: fixed coverity 'Argument cannot be negative' warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agocmake: disable -fvar-tracking-assignments for config.cc 16695/head
Kefu Chai [Mon, 31 Jul 2017 12:32:18 +0000 (20:32 +0800)]
cmake: disable -fvar-tracking-assignments for config.cc

there are too many variables involved in config.cc, but
-fvar-tracking-assignments is enabled by default, when the compiler
finds that the number of variables exceeds the limit
"max-vartrack-size", it gives up, and tries again disabling this
option.

this change avoids the recompilation of config.cc and also
silences the warning of

src/common/config.cc:77:1: note: variable tracking size limit exceeded
with -fvar-tracking-assignments, retrying without
 md_config_t::md_config_t(bool is_daemon)
 ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorbd: 1351525 Argument cannot be negative 16686/head
amitkuma [Mon, 31 Jul 2017 12:28:32 +0000 (17:58 +0530)]
rbd: 1351525 Argument cannot be negative

Fixed:

** CID 1351525 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
7. negative_returns: sd is passed to a parameter that cannot be negative.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agorbd: modified some commands' description into imperative sentence 16694/head
songweibin [Mon, 31 Jul 2017 12:25:30 +0000 (20:25 +0800)]
rbd: modified some commands' description into imperative sentence

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorgw: Fix up to 1000 entries at a time in check_bad_index_multipart 16692/head
Orit Wasserman [Mon, 31 Jul 2017 11:45:25 +0000 (14:45 +0300)]
rgw: Fix up to 1000 entries at a time in check_bad_index_multipart

Fixes: http://tracker.ceph.com/issues/20772
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
7 years agorgw: remove some unused variable 16690/head
Luo Kexue [Mon, 31 Jul 2017 11:40:12 +0000 (19:40 +0800)]
rgw: remove some unused variable

Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
7 years agoMerge pull request #16660 from nrdmn/patch-2
John Spray [Mon, 31 Jul 2017 10:53:53 +0000 (11:53 +0100)]
Merge pull request #16660 from nrdmn/patch-2

doc: added mgr caps to manual deployment documentation

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agorgw: Fix for Policy Parse exception in case of multiple statements. 16689/head
Pritha Srivastava [Mon, 31 Jul 2017 05:19:07 +0000 (10:49 +0530)]
rgw: Fix for Policy Parse exception in case of multiple statements.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>