]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc: remove accidental additions to release notes 16378/head
Patrick Donnelly [Tue, 8 Aug 2017 16:28:57 +0000 (09:28 -0700)]
doc: remove accidental additions to release notes

Presumably this was caused by a bad rebase.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa/cephfs: Fix race in test_volume_client
Douglas Fuller [Thu, 3 Aug 2017 14:00:42 +0000 (10:00 -0400)]
qa/cephfs: Fix race in test_volume_client

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoqa/cephfs: Test filtered df
Douglas Fuller [Thu, 27 Jul 2017 18:08:46 +0000 (14:08 -0400)]
qa/cephfs: Test filtered df

Add a test for filtered df for file systems with single data pools.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoPendingReleaseNotes: add note about df filtering
Douglas Fuller [Tue, 18 Jul 2017 14:30:05 +0000 (10:30 -0400)]
PendingReleaseNotes: add note about df filtering

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoclient: Support new, filtered MStatfs
Douglas Fuller [Mon, 17 Jul 2017 21:24:24 +0000 (17:24 -0400)]
client: Support new, filtered MStatfs

When statfs() is called for a filesystem with a single data pool,
add that as an argument to receive statistics for that pool only.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoobjecter: Support new, filtered MStatfs
Douglas Fuller [Mon, 17 Jul 2017 21:19:53 +0000 (17:19 -0400)]
objecter: Support new, filtered MStatfs

Extend the Objecter's StatfsOp to support MStatfs::data_pool. This
requests statistics for a single data pool in the case of a filesystem
that has exactly one.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agomon/PGMap stats: Support new, filtered MStatfs
Douglas Fuller [Mon, 17 Jul 2017 21:17:48 +0000 (17:17 -0400)]
mon/PGMap stats: Support new, filtered MStatfs

MStatfs now includes an optional data pool element for filesystems
with a single data pool, support this element and return data for
a single data pool if requested.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agomessages: Add optional data pool to MStatfs
Douglas Fuller [Mon, 17 Jul 2017 21:14:49 +0000 (17:14 -0400)]
messages: Add optional data pool to MStatfs

Bump encoding version accordingly.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoMerge pull request #16764 from liewegas/wip-release-notes
Sage Weil [Thu, 3 Aug 2017 13:28:20 +0000 (08:28 -0500)]
Merge pull request #16764 from liewegas/wip-release-notes

doc/release-notes: sort release note changes into the right section

7 years agoMerge pull request #16765 from liewegas/wip-bluestore-docs
Sage Weil [Thu, 3 Aug 2017 13:27:41 +0000 (08:27 -0500)]
Merge pull request #16765 from liewegas/wip-bluestore-docs

doc/rados/configuration: document bluestore

7 years agodoc/rados/configuration/bluestore-config-ref: devices, checksumming, cache 16765/head
Sage Weil [Thu, 3 Aug 2017 13:21:18 +0000 (09:21 -0400)]
doc/rados/configuration/bluestore-config-ref: devices, checksumming, cache

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16773 from dmick/wip-make-check-cleanup
Sage Weil [Thu, 3 Aug 2017 13:19:48 +0000 (08:19 -0500)]
Merge pull request #16773 from dmick/wip-make-check-cleanup

Clean up make check for persistent test nodes (like arm64)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16683 from Liuchang0812/clear-result-in-getchildren
Kefu Chai [Thu, 3 Aug 2017 13:17:06 +0000 (21:17 +0800)]
Merge pull request #16683 from Liuchang0812/clear-result-in-getchildren

os/bluestore: clear result in BlueRocksEnv::getChildren

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16717 from gmayyyha/osd-objectstore-20865
Kefu Chai [Thu, 3 Aug 2017 13:14:34 +0000 (21:14 +0800)]
Merge pull request #16717 from gmayyyha/osd-objectstore-20865

ceph-osd: fix auto detect which objectstore is currently running

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
7 years agoMerge pull request #16777 from SUSE/wip-20894
Kefu Chai [Thu, 3 Aug 2017 12:22:03 +0000 (20:22 +0800)]
Merge pull request #16777 from SUSE/wip-20894

doc: document "rados cleanup" in rados manpage

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16775 from ovh/bp-fr-pendingnotes-update
Abhishek L [Thu, 3 Aug 2017 09:30:01 +0000 (11:30 +0200)]
Merge pull request #16775 from ovh/bp-fr-pendingnotes-update

PendingReleaseNotes: mention forced recovery

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc: document "rados cleanup" in rados manpage 16777/head
Nathan Cutler [Thu, 3 Aug 2017 09:08:48 +0000 (11:08 +0200)]
doc: document "rados cleanup" in rados manpage

Fixes: http://tracker.ceph.com/issues/20894
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoPendingReleaseNotes: mention forced recovery 16775/head
Piotr Dałek [Thu, 3 Aug 2017 07:45:28 +0000 (09:45 +0200)]
PendingReleaseNotes: mention forced recovery

Mention forced recovery in release notes.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agotest/encoding/readable.sh: clean up all tmpfiles/dirs 16773/head
Dan Mick [Thu, 3 Aug 2017 04:11:09 +0000 (21:11 -0700)]
test/encoding/readable.sh: clean up all tmpfiles/dirs

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agorun-make-check.sh: set ulimit -n (because no one else does)
Dan Mick [Thu, 3 Aug 2017 03:00:07 +0000 (20:00 -0700)]
run-make-check.sh: set ulimit -n (because no one else does)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #16678 from mychoxin/yuanxin_make_print_informative
Gregory Farnum [Thu, 3 Aug 2017 02:59:50 +0000 (19:59 -0700)]
Merge pull request #16678 from mychoxin/yuanxin_make_print_informative

print more information when run ceph-osd cmd with 'check options'

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge PR #16713 into master
Patrick Donnelly [Thu, 3 Aug 2017 02:41:42 +0000 (19:41 -0700)]
Merge PR #16713 into master

* refs/remotes/upstream/pull/16713/head:
qa: ignore failed MDS message during upgrade

7 years agoMerge PR #16691 into master
Patrick Donnelly [Thu, 3 Aug 2017 01:42:37 +0000 (18:42 -0700)]
Merge PR #16691 into master

* refs/remotes/upstream/pull/16691/head:
doc: update client.admin key refs to "mds 'allow'"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16714 into master
Patrick Donnelly [Thu, 3 Aug 2017 01:41:12 +0000 (18:41 -0700)]
Merge PR #16714 into master

* refs/remotes/upstream/pull/16714/head:
qa: test export_pin is correct in dumped subtree
mds: print export_pin for dumped subtree

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
7 years agoMerge pull request #16732 from Abhishekvrshny/fix-rgw-mp-races
Matt Benjamin [Wed, 2 Aug 2017 20:06:08 +0000 (16:06 -0400)]
Merge pull request #16732 from Abhishekvrshny/fix-rgw-mp-races

rgw : fix race in RGWCompleteMultipart

7 years agodoc/rados/configuration: document bluestore
Sage Weil [Wed, 2 Aug 2017 19:48:36 +0000 (15:48 -0400)]
doc/rados/configuration: document bluestore

Initial pass here.  Not yet complete.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/release-notes: cleanup 16764/head
Sage Weil [Wed, 2 Aug 2017 19:16:54 +0000 (15:16 -0400)]
doc/release-notes: cleanup

Signed-off-by: Sage Weil <sage@redhat.com>
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 agoceph-osd: fix auto detect which objectstore is currently running 16717/head
Yanhu Cao [Tue, 1 Aug 2017 02:44:57 +0000 (10:44 +0800)]
ceph-osd: fix auto detect which objectstore is currently running

Fixes: http://tracker.ceph.com/issues/20865
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>