]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoinstall-deps.sh: allow building on SLES systems 11708/head
Nitin A Kamble [Mon, 31 Oct 2016 18:46:13 +0000 (11:46 -0700)]
install-deps.sh: allow building on SLES systems

Avoids this error on SLES systems:

> ./install-deps.sh
sles is unknown, dependencies will have to be installed manually.

Signed-off-by: Nitin A Kamble <Nitin.Kamble@Teradata.com>
8 years agoMerge pull request #11249 from wido/osd-flush-journal-shutdown
Sage Weil [Mon, 31 Oct 2016 14:06:14 +0000 (09:06 -0500)]
Merge pull request #11249 from wido/osd-flush-journal-shutdown

osd: Flush Journal on shutdown

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #11686 from ceph/wip-ceph-rest-api-new-addr
Sage Weil [Mon, 31 Oct 2016 14:05:22 +0000 (09:05 -0500)]
Merge pull request #11686 from ceph/wip-ceph-rest-api-new-addr

ceph-rest-api: understand the new style entity_addr_t representation

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11530 from markhpc/wip-rocksdb_tuning
Sage Weil [Mon, 31 Oct 2016 14:03:05 +0000 (09:03 -0500)]
Merge pull request #11530 from markhpc/wip-rocksdb_tuning

common/config_opts.h: Optimized RocksDB WAL settings.

8 years agoMerge pull request #11688 from stiopaa1/mds_snapserver_addConstToMemFun
Brad Hubbard [Sun, 30 Oct 2016 21:24:51 +0000 (07:24 +1000)]
Merge pull request #11688 from stiopaa1/mds_snapserver_addConstToMemFun

mds/SnapServer: add const to member function

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agomds/SnapServer: add const to member function 11688/head
Michal Jarzabek [Sat, 29 Oct 2016 20:52:10 +0000 (21:52 +0100)]
mds/SnapServer: add const to member function

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoceph-rest-api: understand the new style entity_addr_t representation 11686/head
Kefu Chai [Sat, 29 Oct 2016 17:19:06 +0000 (01:19 +0800)]
ceph-rest-api: understand the new style entity_addr_t representation

the new entity_addr_t representation was introduced by 3561eb3, we
should update ceph_rest_api.py accordingly.

Fixes: http://tracker.ceph.com/issues/17742
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10993 from Vicente-Cheng/fix-alloc-choose_tries
Kefu Chai [Sun, 30 Oct 2016 03:54:59 +0000 (11:54 +0800)]
Merge pull request #10993 from Vicente-Cheng/fix-alloc-choose_tries

crush: make counting of choose_tries consistent

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11246 from badone/wip-set_xattr_limits_via_conf-fix
Kefu Chai [Sun, 30 Oct 2016 03:54:16 +0000 (11:54 +0800)]
Merge pull request #11246 from badone/wip-set_xattr_limits_via_conf-fix

os/filestore: Fix erroneous WARNING: max attr too small

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11614 from runsisi/wip-fix-PK11_FreeSymKey-segfault
Kefu Chai [Sun, 30 Oct 2016 03:50:51 +0000 (11:50 +0800)]
Merge pull request #11614 from runsisi/wip-fix-PK11_FreeSymKey-segfault

auth: fix NULL pointer access when trying to delete CryptoAESKeyHandler instance

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11654 from hjwsm1989/fix
Kefu Chai [Sun, 30 Oct 2016 03:49:49 +0000 (11:49 +0800)]
Merge pull request #11654 from hjwsm1989/fix

mon: print the num_pools and num_objects in 'ceph -s -f json/json-p…

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11639 from atheism/mgr-PyModules-remove-duplicated-else-if
Kefu Chai [Sun, 30 Oct 2016 03:48:51 +0000 (11:48 +0800)]
Merge pull request #11639 from atheism/mgr-PyModules-remove-duplicated-else-if

mgr: PyModules.cc: remove duplicated if condition for fs_map

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11659 from tchaikov/wip-delete-cct-later
Kefu Chai [Sun, 30 Oct 2016 03:47:06 +0000 (11:47 +0800)]
Merge pull request #11659 from tchaikov/wip-delete-cct-later

librados: postpone cct deletion

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11314 from jcsp/wip-mgr-flake8
Kefu Chai [Sat, 29 Oct 2016 04:21:33 +0000 (12:21 +0800)]
Merge pull request #11314 from jcsp/wip-mgr-flake8

pybind: clean up mgr stuff for flake8

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11650 from wjwithagen/wip-wjw-log-loging
Kefu Chai [Sat, 29 Oct 2016 04:11:08 +0000 (12:11 +0800)]
Merge pull request #11650 from wjwithagen/wip-wjw-log-loging

Log: Replace namespace log with logging

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11680 from tchaikov/wip-17728
Kefu Chai [Sat, 29 Oct 2016 03:43:07 +0000 (11:43 +0800)]
Merge pull request #11680 from tchaikov/wip-17728

test/ceph_test_msgr: do not use Message::middle for holding transient…

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #11397 from dzafman/wip-scrub-misc
David Zafman [Fri, 28 Oct 2016 18:17:12 +0000 (11:17 -0700)]
Merge pull request #11397 from dzafman/wip-scrub-misc

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest/ceph_test_msgr: do not use Message::middle for holding transient data 11680/head
Kefu Chai [Fri, 28 Oct 2016 17:54:58 +0000 (01:54 +0800)]
test/ceph_test_msgr: do not use Message::middle for holding transient data

Message::middle is used for holding encoded data, so we we can not stuff
it with payload and leave the "payload" field empty. this change
refactors the ceph_test_msgr by introducing a Payload class which
encodes all test data in it.

Fixes: http://tracker.ceph.com/issues/17728
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11677 from ceph/wip-rocksdb-no-march-native
Kefu Chai [Fri, 28 Oct 2016 13:48:39 +0000 (21:48 +0800)]
Merge pull request #11677 from ceph/wip-rocksdb-no-march-native

rocksdb: do not build with --march=native

Reviewed-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #11678 from tchaikov/wip-silence-rbd-warning
Jason Dillaman [Fri, 28 Oct 2016 13:23:18 +0000 (09:23 -0400)]
Merge pull request #11678 from tchaikov/wip-silence-rbd-warning

librbd: silence the unused variable warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: silence the unused variable warning 11678/head
Kefu Chai [Fri, 28 Oct 2016 12:28:26 +0000 (20:28 +0800)]
librbd: silence the unused variable warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorocksdb: do not build with --march=native 11677/head
Kefu Chai [Fri, 28 Oct 2016 11:00:10 +0000 (19:00 +0800)]
rocksdb: do not build with --march=native

we can not assume that building host has the same arch (or the same cpu
capability) with the target machine.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11663 from stiopaa1/mds_mdslog_addConstToMemFunc
Sage Weil [Fri, 28 Oct 2016 10:52:23 +0000 (05:52 -0500)]
Merge pull request #11663 from stiopaa1/mds_mdslog_addConstToMemFunc

mds/MDLog: add const to member functions

8 years agoMerge pull request #11668 from Enproduktion/master
Sage Weil [Fri, 28 Oct 2016 10:49:25 +0000 (05:49 -0500)]
Merge pull request #11668 from Enproduktion/master

doc: Fixed mapping error in legacy mds command

8 years agoMerge pull request #11446 from ukernel/wip-cephfs-scan-links
John Spray [Fri, 28 Oct 2016 10:03:12 +0000 (11:03 +0100)]
Merge pull request #11446 from ukernel/wip-cephfs-scan-links

tools/cephfs: add scan_links command which fixes linkages errors

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11609 from stiopaa1/mds_snaprealm_unneededuseofcount
John Spray [Fri, 28 Oct 2016 10:01:59 +0000 (11:01 +0100)]
Merge pull request #11609 from stiopaa1/mds_snaprealm_unneededuseofcount

mds/SnapRealm: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11625 from stiopaa1/mds_damageTable_removeUnneededCount
John Spray [Fri, 28 Oct 2016 10:01:34 +0000 (11:01 +0100)]
Merge pull request #11625 from stiopaa1/mds_damageTable_removeUnneededCount

mds/DamageTable.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #9304 from dzafman/wip-13937
Kefu Chai [Fri, 28 Oct 2016 09:21:09 +0000 (17:21 +0800)]
Merge pull request #9304 from dzafman/wip-13937

osd: handle EC recovery read errors

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11645 from dillaman/wip-librbd-discard-after-write
Venky Shankar [Fri, 28 Oct 2016 08:56:49 +0000 (14:26 +0530)]
Merge pull request #11645 from dillaman/wip-librbd-discard-after-write

test: new librbd discard after write test case

8 years agoMerge pull request #11670 from stiopaa1/mds_mutation_addConstToMemFun
Yan, Zheng [Fri, 28 Oct 2016 07:31:40 +0000 (02:31 -0500)]
Merge pull request #11670 from stiopaa1/mds_mutation_addConstToMemFun

mds/Mutation.h: add const to member functions

8 years agoMerge pull request #11608 from atheism/mds-duplicated-check
Yan, Zheng [Fri, 28 Oct 2016 07:25:53 +0000 (02:25 -0500)]
Merge pull request #11608 from atheism/mds-duplicated-check

client: Client.cc: remove duplicated op type checking against CEPH_MD…

8 years agoclient: Client.cc: correct the op type checking for CEPH_MDS_OP_CREATE 11608/head
Weibing Zhang [Sat, 22 Oct 2016 11:40:10 +0000 (19:40 +0800)]
client: Client.cc: correct the op type checking for CEPH_MDS_OP_CREATE

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
8 years agoglobal: Always log loading erasure code for tests 9304/head
David Zafman [Thu, 27 Oct 2016 23:12:41 +0000 (16:12 -0700)]
global: Always log loading erasure code for tests

Fix for broken test-erasure-code.sh and test-erasure-eio.sh

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agotest.sh: Make check for flags more robust
David Zafman [Fri, 14 Oct 2016 23:17:55 +0000 (16:17 -0700)]
test.sh: Make check for flags more robust

Low space broke test, saw "flags nearfull,pauserd,pausewr...."

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agotest: Remove extra objectstore_tool call which causes a recovery
David Zafman [Fri, 22 Jul 2016 00:36:34 +0000 (17:36 -0700)]
test: Remove extra objectstore_tool call which causes a recovery

Caused by: 70e000a9a42c50eda48f5d3b9e432ffc3a70f75b

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agotest: Handle object removals in a non-racey way
David Zafman [Wed, 15 Jun 2016 03:09:15 +0000 (20:09 -0700)]
test: Handle object removals in a non-racey way

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoosd: Fix hang on unfound object after mark_unfound_lost is done
David Zafman [Fri, 27 May 2016 05:09:42 +0000 (22:09 -0700)]
osd: Fix hang on unfound object after mark_unfound_lost is done

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoosd: Handle recovery read errors
David Zafman [Fri, 20 May 2016 22:20:18 +0000 (15:20 -0700)]
osd: Handle recovery read errors

Fixes: http://tracker.ceph.com/issues/13937
Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoosd: Fix log messages
David Zafman [Sat, 21 May 2016 01:19:42 +0000 (18:19 -0700)]
osd: Fix log messages

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoosd: CLEANUP: Remove unused pending_read member
David Zafman [Fri, 20 May 2016 20:58:32 +0000 (13:58 -0700)]
osd: CLEANUP: Remove unused pending_read member

Remove unused struct

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoRevert "test: Disable tests due to recovery race"
David Zafman [Fri, 20 May 2016 18:51:21 +0000 (11:51 -0700)]
Revert "test: Disable tests due to recovery race"

This reverts commit 5bc55338f5a1645bc651811fae2f89ad855ff86e.

Conflicts:
src/test/Makefile.am (no longer exists)
src/test/erasure-code/Makefile.am (no longer exists)

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #11582 from batrick/ceph-dumpable
Brad Hubbard [Fri, 28 Oct 2016 04:43:35 +0000 (14:43 +1000)]
Merge pull request #11582 from batrick/ceph-dumpable

core: set dumpable flag after setuid

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agomds/Mutation.h: add const to member functions 11670/head
Michal Jarzabek [Thu, 27 Oct 2016 20:51:30 +0000 (21:51 +0100)]
mds/Mutation.h: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agodoc: Fixed mapping error in legacy mds command 11668/head
Malte Fiala [Thu, 27 Oct 2016 17:26:34 +0000 (19:26 +0200)]
doc: Fixed mapping error in legacy mds command

Signed-off-by: Malte Fiala <maltefiala@produktion.io>
8 years agoMerge pull request #11666 from tchaikov/wip-cmake
Sage Weil [Thu, 27 Oct 2016 16:37:54 +0000 (11:37 -0500)]
Merge pull request #11666 from tchaikov/wip-cmake

cmake: remove include/Makefile.am

8 years agocmake: remove include/Makefile.am 11666/head
Kefu Chai [Thu, 27 Oct 2016 08:37:46 +0000 (16:37 +0800)]
cmake: remove include/Makefile.am

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/filestore: Fix erroneous WARNING: max attr too small 11246/head
Brad Hubbard [Wed, 28 Sep 2016 04:50:28 +0000 (14:50 +1000)]
os/filestore: Fix erroneous WARNING: max attr too small

When we read the conf values from the conf file we call handle_conf_change which
calls set_xattr_limits_via_conf but this is before m_fs_type is initialised so
we fall through to the default comaprison with
filestore_max_xattr_value_size_other (1024) and erroneously issue the warning.
This happens at every startup but subsequent calls once the filestore is mounted
proceed as expected. Don't call set_xattr_limits_via_conf unless the filestore
is mounted.

Fixes: http://tracker.ceph.com/issues/17420
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #11638 from tchaikov/wip-clang
Kefu Chai [Thu, 27 Oct 2016 05:01:17 +0000 (13:01 +0800)]
Merge pull request #11638 from tchaikov/wip-clang

include/enc: make clang happy

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11658 from hjwsm1989/doc
Josh Durgin [Wed, 26 Oct 2016 23:17:56 +0000 (16:17 -0700)]
Merge pull request #11658 from hjwsm1989/doc

doc: change the osd_max_backfills default to 1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agomds/MDLog: add const to member functions 11663/head
Michal Jarzabek [Wed, 26 Oct 2016 21:13:48 +0000 (22:13 +0100)]
mds/MDLog: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #10887 from michaelsevilla/mantle
John Spray [Wed, 26 Oct 2016 19:31:28 +0000 (20:31 +0100)]
Merge pull request #10887 from michaelsevilla/mantle

fs: Mantle: A Programmable Metadata Load Balancer

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11641 from vshankar/rbd-data-pool-assert
Jason Dillaman [Wed, 26 Oct 2016 15:35:59 +0000 (11:35 -0400)]
Merge pull request #11641 from vshankar/rbd-data-pool-assert

librbd: possible assert failure creating image when using data pool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agocommon/cmdparse,msg/async: remove unnecessary std::move() 11638/head
Kefu Chai [Tue, 25 Oct 2016 08:25:39 +0000 (16:25 +0800)]
common/cmdparse,msg/async: remove unnecessary std::move()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agolibrados: postpone cct deletion 11659/head
Kefu Chai [Wed, 26 Oct 2016 09:21:41 +0000 (17:21 +0800)]
librados: postpone cct deletion

RefCountedObject::put() prints log using cct, but RadosClient
relinquishes the reference to cct too early, so when its
`RefCountedObject` member variables print log when they are
destructed, the cct is already freed. hence we have a segfault.

to address this problem, we need postpone destructure of it after all
other RefCountedObject member variables are destroyed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11570 from tchaikov/wip-revise-SubmittingPatches
Kefu Chai [Wed, 26 Oct 2016 14:37:41 +0000 (22:37 +0800)]
Merge pull request #11570 from tchaikov/wip-revise-SubmittingPatches

doc: reformat SubmittingPatches with more rst syntax

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #11630 from cbodley/wip-rgw-curl-upgrade
Orit Wasserman [Wed, 26 Oct 2016 13:46:18 +0000 (15:46 +0200)]
Merge pull request #11630 from cbodley/wip-rgw-curl-upgrade

rgw: remove suggestion to upgrade libcurl
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11385 from bassamtabbara/wip-rocksdb-external-project
Kefu Chai [Wed, 26 Oct 2016 10:48:33 +0000 (18:48 +0800)]
Merge pull request #11385 from bassamtabbara/wip-rocksdb-external-project

cmake: use external project for rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: remove ending period in section titles 11570/head
Kefu Chai [Wed, 26 Oct 2016 09:53:22 +0000 (17:53 +0800)]
doc: remove ending period in section titles

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years ago doc: change the osd_max_backfills default to 1 11658/head
huangjun [Wed, 26 Oct 2016 08:55:53 +0000 (16:55 +0800)]
doc: change the osd_max_backfills default to 1
Fixes: http://tracker.ceph.com/issues/17701
Signed-off-by: huangjun <hjwsm1989@gmail.com>
8 years agoMerge pull request #11653 from ktdreyer/doc-epel-instructions
Kefu Chai [Wed, 26 Oct 2016 07:39:42 +0000 (15:39 +0800)]
Merge pull request #11653 from ktdreyer/doc-epel-instructions

doc: standardize EPEL instructions

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: use external project for rocksdb 11385/head
Bassam Tabbara [Tue, 11 Oct 2016 05:56:18 +0000 (22:56 -0700)]
cmake: use external project for rocksdb

This commit makes rocksdb an external cmake project. This ensures
that rocksdb is no longer built from src/rocksdb, and that make clean
works correctly.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agopickup new rocksdb with support for linux cmake
Bassam Tabbara [Tue, 11 Oct 2016 06:04:18 +0000 (23:04 -0700)]
pickup new rocksdb with support for linux cmake

This picksup a new version of rocksdb with support for
linux cmake.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agoMerge pull request #11619 from dachary/wip-17662-ceph-disk
Kefu Chai [Wed, 26 Oct 2016 07:02:51 +0000 (15:02 +0800)]
Merge pull request #11619 from dachary/wip-17662-ceph-disk

ceph-disk: allow using a regular file as a journal

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11652 from ktdreyer/doc-mgr-syntax
Kefu Chai [Wed, 26 Oct 2016 05:53:27 +0000 (13:53 +0800)]
Merge pull request #11652 from ktdreyer/doc-mgr-syntax

doc: fix mgr literal block rST syntax

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years ago mon: print the num_pools and num_objects in 'ceph -s -f json/json-pretty'. 11654/head
huangjun [Wed, 26 Oct 2016 03:40:05 +0000 (11:40 +0800)]
  mon: print the num_pools and num_objects in 'ceph -s -f json/json-pretty'.
Fixes: http://tracker.ceph.com/issues/17703
Signed-off-by: huangjun <hjwsm1989@gmail.com>
8 years agolibrbd: assert failure when using data pool 11641/head
Venky Shankar [Mon, 24 Oct 2016 13:16:42 +0000 (18:46 +0530)]
librbd: assert failure when using data pool

This fixes a silly assert that's hit during image creation
(cli/api) when the data pool specified is same as the pool
specified by -p/--pool option (or the default).

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agodoc: standardize EPEL instructions 11653/head
Ken Dreyer [Wed, 26 Oct 2016 02:00:48 +0000 (20:00 -0600)]
doc: standardize EPEL instructions

Prior to this change, the documentation pages contained different ways
to enable EPEL. Pick a simple, secure (https) way and standardize on
that.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agodoc: fix mgr literal block rST syntax 11652/head
Ken Dreyer [Wed, 26 Oct 2016 01:44:57 +0000 (19:44 -0600)]
doc: fix mgr literal block rST syntax

Prior to this change, there were double-colon ("::") characters in the
HTML docs to indicate literal blocks.

The proceeding paragraphs were not pre-formatted because there was no
newline between the double-colon and the to-be-pre-formatted paragraph.

Move the "::" characters inline to simplify the syntax and make Sphinx
properly interpret these texts as literal blocks.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agoMerge pull request #11594 from cbodley/wip-rgw-init-bucket-sync
Yehuda Sadeh [Tue, 25 Oct 2016 22:06:54 +0000 (15:06 -0700)]
Merge pull request #11594 from cbodley/wip-rgw-init-bucket-sync

rgw: fix for passing temporary in InitBucketSyncStatus

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11505 from cbodley/wip-17571
Yehuda Sadeh [Tue, 25 Oct 2016 22:05:27 +0000 (15:05 -0700)]
Merge pull request #11505 from cbodley/wip-17571

rgw: clean up RGWShardedOmapCRManager on early return

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11504 from cbodley/wip-17568
Yehuda Sadeh [Tue, 25 Oct 2016 22:04:02 +0000 (15:04 -0700)]
Merge pull request #11504 from cbodley/wip-17568

rgw: RGWSimpleRadosReadCR tolerates empty reads

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agomantle: re-design and fixes 10887/head
Michael Sevilla [Fri, 30 Sep 2016 05:01:41 +0000 (22:01 -0700)]
mantle: re-design and fixes
- fix legacy encoding in mds map and add balancer to dumps
- fix blocking rados read and remove temporary files
- fix beacon message spamming

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
8 years agomantle: store balancer in RADOS, balancer version in MDSMap
Michael Sevilla [Tue, 2 Feb 2016 19:25:42 +0000 (11:25 -0800)]
mantle: store balancer in RADOS, balancer version in MDSMap
- add docs and sample balancer (greedy-spill)

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
8 years agomantle: write balancer policies in Lua
Michael Sevilla [Mon, 25 Jul 2016 20:15:13 +0000 (13:15 -0700)]
mantle: write balancer policies in Lua

Introduces Mantle, a programmable metadata load balancer. Policies for making
migration decisions are written in Lua but the Migrator and Balancer modules
still do fragmentation and migration. If the Lua balancer fails, control falls
back to the original balancer implementation.

Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
8 years agoMerge pull request #11352 from dachary/wip-17526-rados-bench
John Wilkins [Tue, 25 Oct 2016 19:26:31 +0000 (12:26 -0700)]
Merge pull request #11352 from dachary/wip-17526-rados-bench

doc: document hostname constraints for rados bench

reviewed-by: John Wilkins <jowilkin@redhat.com>

8 years agoMerge pull request #11602 from dillaman/wip-17665
John Wilkins [Tue, 25 Oct 2016 19:23:31 +0000 (12:23 -0700)]
Merge pull request #11602 from dillaman/wip-17665

doc: clarify QEMU rbd cache settings

reviewed-by: John Wilkins <jowilkin@redhat.com>

8 years agoLog: Replace namespace log with loging 11650/head
Willem Jan Withagen [Tue, 25 Oct 2016 17:38:29 +0000 (19:38 +0200)]
Log: Replace namespace log with loging

 - This to avoid a nameing confilct that Clang finds with
   std::log from cmath

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #9825 from liewegas/wip-addrvec
Kefu Chai [Tue, 25 Oct 2016 17:38:01 +0000 (01:38 +0800)]
Merge pull request #9825 from liewegas/wip-addrvec

msg: add entity_addr_t types; add new entity_addrvec_t type

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest: new librbd discard after write test case 11645/head
Jason Dillaman [Tue, 25 Oct 2016 13:55:32 +0000 (09:55 -0400)]
test: new librbd discard after write test case

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11517 from ukernel/wip-17562
John Spray [Tue, 25 Oct 2016 11:30:42 +0000 (12:30 +0100)]
Merge pull request #11517 from ukernel/wip-17562

Fix #17562 (backtrace check fails when scrubbing directory created by fsstress)

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11593 from ukernel/wip-17275
John Spray [Tue, 25 Oct 2016 11:16:05 +0000 (12:16 +0100)]
Merge pull request #11593 from ukernel/wip-17275

osdc/ObjectCacher: wake up dirty stat waiters after removing buffers

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11604 from stiopaa1/mds_inotable_addOverride
John Spray [Tue, 25 Oct 2016 11:15:30 +0000 (12:15 +0100)]
Merge pull request #11604 from stiopaa1/mds_inotable_addOverride

mds/InoTable.h: add override to virtual functs

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11613 from stiopaa1/mds_cdir_removeUnneededUseofCount
John Spray [Tue, 25 Oct 2016 11:14:42 +0000 (12:14 +0100)]
Merge pull request #11613 from stiopaa1/mds_cdir_removeUnneededUseofCount

mds/CDir.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11611 from batrick/i17670
John Spray [Tue, 25 Oct 2016 11:14:23 +0000 (12:14 +0100)]
Merge pull request #11611 from batrick/i17670

mds: check if down mds is known

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11191 from renhwztetecs/renhw-wip-add-libcephfs
John Spray [Tue, 25 Oct 2016 10:59:11 +0000 (11:59 +0100)]
Merge pull request #11191 from renhwztetecs/renhw-wip-add-libcephfs

libcephfs: add ceph_fsetattr&&ceph_lchmod&&ceph_lutime

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11560 from ukernel/wip-mds-context-wrapping
John Spray [Tue, 25 Oct 2016 10:58:42 +0000 (11:58 +0100)]
Merge pull request #11560 from ukernel/wip-mds-context-wrapping

MDS: reduce usage of context wrapper

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11345 from jcsp/wip-mgr-assert
Kefu Chai [Tue, 25 Oct 2016 08:02:33 +0000 (16:02 +0800)]
Merge pull request #11345 from jcsp/wip-mgr-assert

messages: fix out of range assertion

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomgr: PyModules.cc: remove duplicated if condition for fs_map 11639/head
Weibing Zhang [Tue, 25 Oct 2016 07:07:12 +0000 (15:07 +0800)]
mgr: PyModules.cc: remove duplicated if condition for fs_map

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
8 years agotest/encoding: fix the build with clang
Kefu Chai [Tue, 25 Oct 2016 04:26:20 +0000 (12:26 +0800)]
test/encoding: fix the build with clang

put the overloaded operator<<() into namespace std, so clang's name
resolution is able to find it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: add definitions for glibc
Kefu Chai [Tue, 25 Oct 2016 04:20:51 +0000 (12:20 +0800)]
cmake: add definitions for glibc

"-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" is not for gcc, it's for glibc
actually. so enable it on LINUX.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoinclude/denc: cast (possible) ints to bool in enable_if
Sage Weil [Fri, 21 Oct 2016 22:15:46 +0000 (18:15 -0400)]
include/denc: cast (possible) ints to bool in enable_if

This makes clang happy.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11632 from VictorDenisov/group_pool_fix
Jason Dillaman [Tue, 25 Oct 2016 03:55:17 +0000 (23:55 -0400)]
Merge pull request #11632 from VictorDenisov/group_pool_fix

rbd: fix parsing of group and image specific pools

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd: fix parsing of group and image specific pools 11632/head
Victor Denisov [Mon, 24 Oct 2016 23:50:19 +0000 (16:50 -0700)]
rbd: fix parsing of group and image specific pools

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
8 years agoMerge pull request #11036 from tomy-ac/wip-tc-rados_append
Yuri Weinstein [Mon, 24 Oct 2016 21:45:42 +0000 (14:45 -0700)]
Merge pull request #11036 from tomy-ac/wip-tc-rados_append

Added append functionality to rados tool.

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #11221 from stiopaa1/osd_osdmap_removeUseOfCount
Yuri Weinstein [Mon, 24 Oct 2016 21:45:00 +0000 (14:45 -0700)]
Merge pull request #11221 from stiopaa1/osd_osdmap_removeUseOfCount

osd/OSDMap.cc: remove unneeded use of count

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11388 from ukernel/wip-17177
Yuri Weinstein [Mon, 24 Oct 2016 21:44:04 +0000 (14:44 -0700)]
Merge pull request #11388 from ukernel/wip-17177

os/ObjectStore: properly clear object map when replaying OP_REMOVE

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw: remove suggestion to upgrade libcurl 11630/head
Casey Bodley [Mon, 24 Oct 2016 19:02:39 +0000 (15:02 -0400)]
rgw: remove suggestion to upgrade libcurl

Reported-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agomds/DamageTable.cc: remove unneeded use of count 11625/head
Michal Jarzabek [Sun, 23 Oct 2016 18:40:44 +0000 (19:40 +0100)]
mds/DamageTable.cc: remove unneeded use of count

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11143 from kylinstorage/wip-fix-write-hang
Kefu Chai [Mon, 24 Oct 2016 16:16:17 +0000 (00:16 +0800)]
Merge pull request #11143 from kylinstorage/wip-fix-write-hang

osd: fix rados write op hang

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #11532 from javeme/run_in_thread-return
Kefu Chai [Mon, 24 Oct 2016 16:15:30 +0000 (00:15 +0800)]
Merge pull request #11532 from javeme/run_in_thread-return

pybind: avoid "exception 'int' object is not iterable"

Reviewed-by: Kefu Chai <kchai@redhat.com>