]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodoc/release-notes: sleep settings
Sage Weil [Thu, 22 Jun 2017 19:14:00 +0000 (15:14 -0400)]
doc/release-notes: sleep settings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: link to EC docs
Sage Weil [Thu, 22 Jun 2017 19:12:03 +0000 (15:12 -0400)]
doc/release-notes: link to EC docs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: update RGW metadata
Sage Weil [Thu, 22 Jun 2017 19:10:01 +0000 (15:10 -0400)]
doc/release-notes: update RGW metadata

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodev/release-notes: various updates from other PR
Sage Weil [Thu, 22 Jun 2017 19:07:56 +0000 (15:07 -0400)]
dev/release-notes: various updates from other PR

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: notes on new CLI commands
Sage Weil [Thu, 22 Jun 2017 19:04:47 +0000 (15:04 -0400)]
doc/release-notes: notes on new CLI commands

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: 'mon feature list' -> 'mon feature ls'
Sage Weil [Thu, 22 Jun 2017 19:04:36 +0000 (15:04 -0400)]
mon: 'mon feature list' -> 'mon feature ls'

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/release-notes: update luminous notes
Sage Weil [Thu, 22 Jun 2017 17:28:15 +0000 (13:28 -0400)]
doc/release-notes: update luminous notes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15764 from tchaikov/wip-20342
Kefu Chai [Fri, 23 Jun 2017 14:26:03 +0000 (22:26 +0800)]
Merge pull request #15764 from tchaikov/wip-20342

qa/suites/upgrade/hammer-jewel-x: add luminous.yaml

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15877 from wjwithagen/wip-wjw-vstart-ceph-mgr-restfull
Sage Weil [Fri, 23 Jun 2017 13:57:19 +0000 (08:57 -0500)]
Merge pull request #15877 from wjwithagen/wip-wjw-vstart-ceph-mgr-restfull

vstart.sh: Work around mgr restfull not available

8 years ago./src/vstart.sh: Work around mgr restfull not available 15877/head
Willem Jan Withagen [Fri, 23 Jun 2017 09:33:18 +0000 (11:33 +0200)]
./src/vstart.sh: Work around mgr restfull not available

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #15832 from Adirl/pd_assert
Haomai Wang [Fri, 23 Jun 2017 01:26:06 +0000 (09:26 +0800)]
Merge pull request #15832 from Adirl/pd_assert

msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15283 from donglinpeng/copyPartUpload
Matt Benjamin [Thu, 22 Jun 2017 23:15:00 +0000 (19:15 -0400)]
Merge pull request #15283 from donglinpeng/copyPartUpload

rgw: multipart copy-part remove '/' for s3 java sdk request header.
(make check failures not related)

8 years agoMerge pull request #15857 from theanalyst/doc/v12.1.0/release-notes-3
Sage Weil [Thu, 22 Jun 2017 21:25:06 +0000 (16:25 -0500)]
Merge pull request #15857 from theanalyst/doc/v12.1.0/release-notes-3

doc: v12.1.0 release notes notable changes addition again

8 years agodoc: v12.1.0 release notes notable changes addition again 15857/head
Abhishek Lekshmanan [Thu, 22 Jun 2017 20:57:05 +0000 (22:57 +0200)]
doc: v12.1.0 release notes notable changes addition again

commmits from 9f259cb923e7474229bb2e5e54b59f3b7f068bc5..luminous && sort

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
8 years agoMerge pull request #15819 from linuxbox2/wip-clru-lockfix
Matt Benjamin [Thu, 22 Jun 2017 19:33:50 +0000 (15:33 -0400)]
Merge pull request #15819 from linuxbox2/wip-clru-lockfix

rgw_file: avoid a recursive lane lock in LRU drain
(failing make check is unrelated)

8 years agorgw_file: avoid a recursive lane lock in LRU drain 15819/head
Matt Benjamin [Wed, 21 Jun 2017 21:20:40 +0000 (17:20 -0400)]
rgw_file: avoid a recursive lane lock in LRU drain

While highly unlikely in normal fs operations, draining an
entire filesystem could induce a recursion on object delete/unref,
when provoked by cohort_lru::drain().

Adjusted to use intrusive slist rather than std:vector<T*>
after review.

Found running librgw_file_nfsns unit test.

Fixes: http://tracker.ceph.com/issues/20374
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15814 from liewegas/wip-everyone-hates-btrfs
Sage Weil [Thu, 22 Jun 2017 14:50:55 +0000 (09:50 -0500)]
Merge pull request #15814 from liewegas/wip-everyone-hates-btrfs

qa/objectstore/filestore-btrfs: test btrfs on trusty only

8 years agoMerge pull request #15820 from liewegas/wip-20303
Sage Weil [Thu, 22 Jun 2017 13:38:50 +0000 (08:38 -0500)]
Merge pull request #15820 from liewegas/wip-20303

mon/PGMap: slightly better debugging around pgmap updates

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15846 from xiexingguo/wip-remap-upmap
Sage Weil [Thu, 22 Jun 2017 13:33:35 +0000 (08:33 -0500)]
Merge pull request #15846 from xiexingguo/wip-remap-upmap

mon/OSDMonitor: _apply_remap -> _apply_upmap; less code redundancy

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: less code redundancy 15846/head
xie xingguo [Thu, 22 Jun 2017 12:00:04 +0000 (20:00 +0800)]
mon/OSDMonitor: less code redundancy

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15805 from jcsp/wip-mds-flush-upgrade
John Spray [Thu, 22 Jun 2017 11:08:51 +0000 (07:08 -0400)]
Merge pull request #15805 from jcsp/wip-mds-flush-upgrade

client: check for luminous MDS before sending FLUSH_MDLOG

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15800 from ukernel/wip-20340
John Spray [Thu, 22 Jun 2017 11:07:59 +0000 (07:07 -0400)]
Merge pull request #15800 from ukernel/wip-20340

mds: save  projected path into inode_t::stray_prior_path

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15776 from ukernel/wip-20338
John Spray [Thu, 22 Jun 2017 11:07:21 +0000 (07:07 -0400)]
Merge pull request #15776 from ukernel/wip-20338

osdc/Journaler: fix memory leak in Journaler::_issue_read()

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15430 from jcsp/wip-20165
John Spray [Thu, 22 Jun 2017 11:06:41 +0000 (07:06 -0400)]
Merge pull request #15430 from jcsp/wip-20165

mds: fix hangs involving re-entrant calls to journaler

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15548 from ukernel/wip-20196
John Spray [Thu, 22 Jun 2017 10:46:27 +0000 (06:46 -0400)]
Merge pull request #15548 from ukernel/wip-20196

mds: improvements for stray reintegration

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agomon/MonCommand: fix description of "osd pg-upmap"
xie xingguo [Thu, 22 Jun 2017 09:26:47 +0000 (17:26 +0800)]
mon/MonCommand: fix description of "osd pg-upmap"

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoosd/OSDMap: _apply_remap -> _apply_upmap
xie xingguo [Thu, 22 Jun 2017 08:50:27 +0000 (16:50 +0800)]
osd/OSDMap: _apply_remap -> _apply_upmap

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15796 from lixiaoy1/fio_ceph_objectstore
Igor Fedotov [Thu, 22 Jun 2017 08:01:00 +0000 (12:01 +0400)]
Merge pull request #15796 from lixiaoy1/fio_ceph_objectstore

fio_ceph_objectstore: Print db_statistics when rocksdb_perf is enabled

8 years agoMerge pull request #15753 from pritha-srivastava/wip-rgw-s3tests-conf
Orit Wasserman [Thu, 22 Jun 2017 08:00:26 +0000 (11:00 +0300)]
Merge pull request #15753 from pritha-srivastava/wip-rgw-s3tests-conf

rgw: Changes for s3test config file, to add user under a tenant.
Reviewed-by: Casey Bodely <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agomsg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain 15832/head
Daniel Bar-On [Mon, 15 May 2017 10:44:29 +0000 (10:44 +0000)]
msg/async/rdma: remove assert from ibv_dealloc_pd in ProtectionDomain
destructor

issue: 1044307

Change-Id: I2fe2099c5f4403f14877e0fbe5d4868dd34d4f9b
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agoMerge pull request #15317 from liupan1111/wip-fix-list
Mykola Golub [Thu, 22 Jun 2017 04:31:32 +0000 (07:31 +0300)]
Merge pull request #15317 from liupan1111/wip-fix-list

rbd-nbd: display pool/image/snap information in list output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15803 from mikulely/cleanup-rgw_rados_doc
Jos Collin [Thu, 22 Jun 2017 04:27:29 +0000 (04:27 +0000)]
Merge pull request #15803 from mikulely/cleanup-rgw_rados_doc

rgw: update function doc in rgw_rados.h  and rgw_rados.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoqa/workunits/rbd: do not test --export-format unless supported 15764/head
Kefu Chai [Thu, 22 Jun 2017 04:16:52 +0000 (12:16 +0800)]
qa/workunits/rbd: do not test --export-format unless supported

in 55edd81, test for `--export-format` was added to exercise this
option. but this option is only supported on luminous, so we need to
check if it's avaialble before using it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoa/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1
Kefu Chai [Tue, 20 Jun 2017 06:11:19 +0000 (14:11 +0800)]
a/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1

no need to clone the whole history of rocksdb, we just need the HEAD of
master. so "--depth 1" is better and faster in this case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade/hammer-jewel-x: upgrade all mon to luminous before osd
Kefu Chai [Tue, 20 Jun 2017 03:28:26 +0000 (11:28 +0800)]
qa/suites/upgrade/hammer-jewel-x: upgrade all mon to luminous before osd

luminous osd requires that monmap has REQUIRE_LUMINOUS before it boots.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade/hammer-jewel-x: replace kraken.yaml with luminous.yaml
Kefu Chai [Tue, 20 Jun 2017 02:37:24 +0000 (10:37 +0800)]
qa/suites/upgrade/hammer-jewel-x: replace kraken.yaml with luminous.yaml

* add mgr.x to roles
* to setup mgr and set the require-osd-release bit in osdmap
* do not restart an osd for waiting for healthy: the cluster is not
  healthy until the require-osd-release=luminous is set in osdmap, and a
  mgr is up and running.

Fixes: http://tracker.ceph.com/issues/20342
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15261 from mychoxin/yuanxin_use_func
Sage Weil [Thu, 22 Jun 2017 02:14:30 +0000 (21:14 -0500)]
Merge pull request #15261 from mychoxin/yuanxin_use_func

os/filestore: when print log, use __func__ instead of hard code function name

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15354 from badone/wip-rados-ls-auth-fix
Sage Weil [Thu, 22 Jun 2017 02:14:01 +0000 (21:14 -0500)]
Merge pull request #15354 from badone/wip-rados-ls-auth-fix

osd: Reverse order of op_has_sufficient_caps and do_pg_op

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15649 from liewegas/wip-20274
Sage Weil [Thu, 22 Jun 2017 02:13:14 +0000 (21:13 -0500)]
Merge pull request #15649 from liewegas/wip-20274

osd/PrimaryLogPG: record prior_version for DELETE events

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15601 from liewegas/wip-no-restful-cert
Sage Weil [Thu, 22 Jun 2017 02:10:35 +0000 (21:10 -0500)]
Merge pull request #15601 from liewegas/wip-no-restful-cert

mgr: remove default cert; disable both restful and dashboard by default

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agorgw: update rgw_rados.h function doc 15803/head
Jiaying Ren [Wed, 21 Jun 2017 08:30:16 +0000 (16:30 +0800)]
rgw: update rgw_rados.h function doc

+ update system_obj_get_attr func comment
+ drop deprecated func comment for get_obj
+ update func comment for pool_iterate_begin

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agoMerge pull request #15755 from Adirl/wip-HUGEPAGES
Haomai Wang [Thu, 22 Jun 2017 01:23:29 +0000 (09:23 +0800)]
Merge pull request #15755 from Adirl/wip-HUGEPAGES

msg/async/rdma: automatically set RDMAV_HUGEPAGES_SAFE according to conf

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoqa/workunits/rest/test_mgr_rest_api: remove ruleset 15601/head
Sage Weil [Thu, 22 Jun 2017 01:17:14 +0000 (21:17 -0400)]
qa/workunits/rest/test_mgr_rest_api: remove ruleset

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: configure cert
Sage Weil [Thu, 22 Jun 2017 01:09:58 +0000 (21:09 -0400)]
qa/suites/rados/rest/mgr-restful: configure cert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: add 'restful restart' command
Sage Weil [Thu, 22 Jun 2017 01:00:35 +0000 (21:00 -0400)]
pybind/mgr/restful: add 'restful restart' command

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15757 from runsisi/wip-image-ts
Jason Dillaman [Thu, 22 Jun 2017 00:51:52 +0000 (20:51 -0400)]
Merge pull request #15757 from runsisi/wip-image-ts

librbd: add create timestamp metadata for image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth
Kefu Chai [Wed, 21 Jun 2017 23:46:57 +0000 (07:46 +0800)]
Merge pull request #15444 from wjwithagen/wip-wjw-freebsd-termwidth

test: Make screencandy optional for FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoosd/PGLog: ignore ERROR entires in _merge_object_divergent_entries 15649/head
Sage Weil [Wed, 21 Jun 2017 22:25:47 +0000 (18:25 -0400)]
osd/PGLog: ignore ERROR entires in _merge_object_divergent_entries

Sometimes ERROR log entries do not have prior_version.  Also,
they aren't actually updates and don't affect the object.

Fixes: http://tracker.ceph.com/issues/20274
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: slightly better debugging around pgmap updates 15820/head
Sage Weil [Wed, 21 Jun 2017 21:50:59 +0000 (17:50 -0400)]
mon/PGMap: slightly better debugging around pgmap updates

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15783 from liewegas/wip-20358
Sage Weil [Wed, 21 Jun 2017 21:01:51 +0000 (16:01 -0500)]
Merge pull request #15783 from liewegas/wip-20358

os/bluestore: move sharedblob to new collection in same shard

8 years agoMerge pull request #15785 from liewegas/wip-bluestore-fsck
Sage Weil [Wed, 21 Jun 2017 21:01:07 +0000 (16:01 -0500)]
Merge pull request #15785 from liewegas/wip-bluestore-fsck

qa/objectstore/bluestore*: fsck on mount

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoqa/objectstore/filestore-btrfs: test btrfs on trusty only 15814/head
Sage Weil [Wed, 21 Jun 2017 20:44:25 +0000 (16:44 -0400)]
qa/objectstore/filestore-btrfs: test btrfs on trusty only

Centos btrfs hits ENOSPC all the time :(, and now xenial is doing
it too.

See http://tracker.ceph.com/issues/20169
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15734 from dillaman/wip-librbd-image-remove
Mykola Golub [Wed, 21 Jun 2017 20:41:33 +0000 (23:41 +0300)]
Merge pull request #15734 from dillaman/wip-librbd-image-remove

librbd: fix issues with image removal state machine

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator
Gregory Farnum [Wed, 21 Jun 2017 20:05:40 +0000 (16:05 -0400)]
Merge pull request #15727 from ovh/bp-runtime-cfg-of-hb-inflator

osd, messages/MOSDPing: bunch of fixes related to ping inflation

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15723 from badone/wip-ceph-mon-startup-error-logging
Yuri Weinstein [Wed, 21 Jun 2017 20:01:35 +0000 (13:01 -0700)]
Merge pull request #15723 from badone/wip-ceph-mon-startup-error-logging

mon: Log errors at startup

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15784 from liewegas/wip-thrash-cleanup
Sage Weil [Wed, 21 Jun 2017 19:31:34 +0000 (14:31 -0500)]
Merge pull request #15784 from liewegas/wip-thrash-cleanup

qa/tasks/ceph_manager: get osds all in after thrashing

8 years agoMerge pull request #15787 from liewegas/wip-19943-fix
Sage Weil [Wed, 21 Jun 2017 19:31:02 +0000 (14:31 -0500)]
Merge pull request #15787 from liewegas/wip-19943-fix

ceph-objectstore-tool: do not populate snapmapper with missing clones

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15813 from tchaikov/wip-cmake
Kefu Chai [Wed, 21 Jun 2017 16:57:17 +0000 (00:57 +0800)]
Merge pull request #15813 from tchaikov/wip-cmake

cmake: do not add dependencies to INTERFACE library on cmake < 3.3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
8 years agopybind/mgr/restful: remove default path names for the cert
Sage Weil [Wed, 21 Jun 2017 16:30:07 +0000 (12:30 -0400)]
pybind/mgr/restful: remove default path names for the cert

I don't think these are useful.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: do not start if no certificate is configured
Sage Weil [Wed, 21 Jun 2017 16:29:45 +0000 (12:29 -0400)]
pybind/mgr/restful: do not start if no certificate is configured

This removes the default filename, by the way.  We also work around a
problem with make_server where it sets up the socket to listen before
checking for the cert, thereby making it problematic to rebind to the
port shortly thereafter when we do have a socket.  (SO_REUSEADDR would
be appropriate but there doesn't seem to be an easy way to make
make_server use it.)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorestful: Introduce create-self-signed-cert command
Boris Ranto [Tue, 20 Jun 2017 22:09:46 +0000 (18:09 -0400)]
restful: Introduce create-self-signed-cert command

This implements a create-self-signed-cert command for the ceph-mgr
restful interface.

It is designed so that it will try to restart the module once the cert
is created.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #15060 from shashalu/fix-slo-dlo-range
Casey Bodley [Wed, 21 Jun 2017 16:12:38 +0000 (12:12 -0400)]
Merge pull request #15060 from shashalu/fix-slo-dlo-range

rgw: fix SLO/DLO range requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15791 from liewegas/wip-20360
Sage Weil [Wed, 21 Jun 2017 15:55:53 +0000 (10:55 -0500)]
Merge pull request #15791 from liewegas/wip-20360

Revert "qa: do not restrict valgrind runs to centos"

8 years agocmake: do not add dependencies to INTERFACE library on cmake < 3.3 15813/head
Kefu Chai [Wed, 21 Jun 2017 15:34:49 +0000 (23:34 +0800)]
cmake: do not add dependencies to INTERFACE library on cmake < 3.3

otherwise we will have

add_dependencies Cannot add target-level dependencies to INTERFACE
library

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13683 from liewegas/wip-crush-rulesets
Sage Weil [Wed, 21 Jun 2017 13:45:42 +0000 (08:45 -0500)]
Merge pull request #13683 from liewegas/wip-crush-rulesets

crush: detect and (usually) fix ruleset != rule id

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15789 from linuxbox2/wip-nfs-doc
Matt Benjamin [Wed, 21 Jun 2017 13:20:40 +0000 (09:20 -0400)]
Merge pull request #15789 from linuxbox2/wip-nfs-doc

RGW NFS: add nfs.rst to doc/radosgw
(override because make check fail [missing selinux policy help file] unrelated)

8 years agoRGW NFS: add nfs.rst to doc/radosgw 15789/head
Matt Benjamin [Tue, 20 Jun 2017 19:46:42 +0000 (15:46 -0400)]
RGW NFS: add nfs.rst to doc/radosgw

This document contains sections by John Wilkins <jowilkin@redhat.com>.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15255 from david-z/wip-mgr-fsstatus
John Spray [Wed, 21 Jun 2017 11:46:02 +0000 (07:46 -0400)]
Merge pull request #15255 from david-z/wip-mgr-fsstatus

pybind/mgr/fsstatus: use mds_mem.dn as dentry counter

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15621 from mingshuaiwang/master
John Spray [Wed, 21 Jun 2017 11:32:09 +0000 (07:32 -0400)]
Merge pull request #15621 from mingshuaiwang/master

mds: mds perf item 'l_mdl_expos' always behind journaler

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agofio_ceph_objectstore: Print db_statistics when rocksdb_perf is enabled 15796/head
lisali [Wed, 21 Jun 2017 11:21:30 +0000 (07:21 -0400)]
fio_ceph_objectstore: Print db_statistics when rocksdb_perf is enabled

Currently users can't use ceph admin command to get db stats when running
bluestore fio plugin. This patch is to print db stats when rocksdb_perf
is set in config file.

Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
8 years agoMerge pull request #15662 from renhwztetecs/renhw-wip-client-trim_cache
John Spray [Wed, 21 Jun 2017 11:31:27 +0000 (07:31 -0400)]
Merge pull request #15662 from renhwztetecs/renhw-wip-client-trim_cache

client: call the lru_remove() twice,when trim cache

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15715 from jcsp/wip-jt-rmapply
John Spray [Wed, 21 Jun 2017 11:30:53 +0000 (07:30 -0400)]
Merge pull request #15715 from jcsp/wip-jt-rmapply

tools/cephfs: remove `apply` mode of cephfs-journal-tool

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15779 from renhwztetecs/renhw-wip-client-dentry
John Spray [Wed, 21 Jun 2017 11:30:34 +0000 (07:30 -0400)]
Merge pull request #15779 from renhwztetecs/renhw-wip-client-dentry

client: fix Dentry::dump

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoclient: check for luminous MDS before sending FLUSH_MDLOG 15805/head
John Spray [Wed, 21 Jun 2017 11:21:42 +0000 (07:21 -0400)]
client: check for luminous MDS before sending FLUSH_MDLOG

This is needed to make it safe to run newer clients
on pre-luminous MDS.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: save projected path into inode_t::stray_prior_path 15800/head
Yan, Zheng [Wed, 21 Jun 2017 07:48:54 +0000 (15:48 +0800)]
mds: save  projected path into inode_t::stray_prior_path

Otherwise, path string like #10000000000/xxx may get saved into
inode_t::stray_prior_path.

Fixes: http://tracker.ceph.com/issues/20340
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
8 years agorgw: fix SLO/DLO range requests 15060/head
lu.shasha [Fri, 12 May 2017 02:03:02 +0000 (10:03 +0800)]
rgw: fix SLO/DLO range requests

Sending any SLO/DLO range requests will retrun InvalidRange error. SLO/DLO should call range_to_ofs after got object size instead of read_op.prepare() to deal with negative offsets.

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agoMerge pull request #15728 from majianpeng/bluefs-remove-memcopy-for-continue-memory
Sage Weil [Tue, 20 Jun 2017 21:53:45 +0000 (16:53 -0500)]
Merge pull request #15728 from majianpeng/bluefs-remove-memcopy-for-continue-memory

os/bluestore/BlueFS: Rebuild memcopy for bufferlist::page_aligned_app…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agounittest_bufferlist: test page_aligned_appender 15728/head
Sage Weil [Tue, 20 Jun 2017 03:24:36 +0000 (23:24 -0400)]
unittest_bufferlist: test page_aligned_appender

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/BlueFS: replace claim_append with claim_append_piecewise to reduce memor...
Jianpeng Ma [Tue, 20 Jun 2017 20:42:02 +0000 (04:42 +0800)]
os/bluestore/BlueFS: replace claim_append with claim_append_piecewise to reduce memory copy.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agocommon/buffer: add function bufferlist::claim_append_piecewise(list& bl).
Jianpeng Ma [Tue, 20 Jun 2017 23:04:51 +0000 (07:04 +0800)]
common/buffer: add function  bufferlist::claim_append_piecewise(list&  bl).

This only useful for bl is bufferlist::page_aligned_appender. Using
this function can remove memcopy for continue ptrs.
Because page_aligned_appender::flush will split a ptr into two or
more ptrs. For this case, rebuild_aligned_size_and_memory can't handle,
it  will rebuild.

For example
a=bl.get_page_aligned_appender(1);
a.append(3K)
a.flush();
t.claim_append(bl);
a.append(1K);
a.flush();
t.claim_append(bl);

dst.claim_append(t);
//3K and 1K ptr are continue in memory. But they are two ptrs..
dst.is_aligned_size_and_memory(4096,4096) is false.

We add new function claim_append_piecewise() to specially
handle this case.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoosd: replicated_ruleset -> replicated_rule 13683/head
Sage Weil [Tue, 20 Jun 2017 21:45:59 +0000 (17:45 -0400)]
osd: replicated_ruleset -> replicated_rule

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: remove default of 127.0.0.1
Sage Weil [Fri, 9 Jun 2017 15:52:30 +0000 (11:52 -0400)]
pybind/mgr/restful: remove default of 127.0.0.1

i.e., disabled until explicitly enabled by an admin

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/dashboard: remove default of 127.0.0.1
Sage Weil [Fri, 9 Jun 2017 15:51:59 +0000 (11:51 -0400)]
pybind/mgr/dashboard: remove default of 127.0.0.1

i.e., disabled until explicitly enabled by an admin.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.spec,debian: remove auto-generated self-signed mgr restful cert
Sage Weil [Fri, 9 Jun 2017 15:24:37 +0000 (11:24 -0400)]
ceph.spec,debian: remove auto-generated self-signed mgr restful cert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoRevert "qa: do not restrict valgrind runs to centos" 15791/head
Sage Weil [Tue, 20 Jun 2017 21:14:52 +0000 (17:14 -0400)]
Revert "qa: do not restrict valgrind runs to centos"

This reverts commit 5923961465e1efd3cc6bc072fef293dda3d975d0.

See http://tracker.ceph.com/issues/20360

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15260 from shashalu/fix-secondary-zonegroup-cors
Casey Bodley [Tue, 20 Jun 2017 20:54:08 +0000 (16:54 -0400)]
Merge pull request #15260 from shashalu/fix-secondary-zonegroup-cors

rgw: update bucket cors in secondary zonegroup should forward to master

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15709 from jcsp/wip-dashboard-loglast
Sage Weil [Tue, 20 Jun 2017 20:25:30 +0000 (15:25 -0500)]
Merge pull request #15709 from jcsp/wip-dashboard-loglast

mgr/dashboard: load log lines on startup, split out audit log

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15750 from xiexingguo/wip-bluestore-20170619
Sage Weil [Tue, 20 Jun 2017 20:25:03 +0000 (15:25 -0500)]
Merge pull request #15750 from xiexingguo/wip-bluestore-20170619

os/bluestore: refactor BlueStore::_do_write;  kill dead ExtentMap::find_lextent() method

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15766 from liewegas/wip-20227-fix
Sage Weil [Tue, 20 Jun 2017 20:24:30 +0000 (15:24 -0500)]
Merge pull request #15766 from liewegas/wip-20227-fix

os/bluestore: fix unsharing blob dirty_range args

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15014 from zhangsw/fix-rgw-versionIdMarker-bug
Casey Bodley [Tue, 20 Jun 2017 20:07:46 +0000 (16:07 -0400)]
Merge pull request #15014 from zhangsw/fix-rgw-versionIdMarker-bug

rgw: VersionIdMarker and NextVersionIdMarker should be returned when listing object versions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14500 from zhangsw/fix-rgw-multipart-index-bug
Yehuda Sadeh [Tue, 20 Jun 2017 19:44:37 +0000 (12:44 -0700)]
Merge pull request #14500 from zhangsw/fix-rgw-multipart-index-bug

rgw: fix the bug that part's index can't be removed after completing multipart upload

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoos/bluestore: debug OmapIteratorImpl 15787/head
Sage Weil [Tue, 20 Jun 2017 18:29:55 +0000 (14:29 -0400)]
os/bluestore: debug OmapIteratorImpl

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/SnapMapper: debug keys inserted, removed, and iterated
Sage Weil [Tue, 13 Jun 2017 20:46:41 +0000 (16:46 -0400)]
osd/SnapMapper: debug keys inserted, removed, and iterated

Hunting bug http://tracker.ceph.com/issues/19943

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph-objectstore-tool: do not populate snapmapper with missing clones
Sage Weil [Tue, 20 Jun 2017 18:25:28 +0000 (14:25 -0400)]
ceph-objectstore-tool: do not populate snapmapper with missing clones

Cache pools may have clones represented in SnapSet that are not stored
locally.  This is fine as long as ceph-objectstore-tool doesn't go and
add them when it shouldn't.

Fixes: http://tracker.ceph.com/issues/19943
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15771 from fangyuxiangGL/cleanup_rgw_admin
Casey Bodley [Tue, 20 Jun 2017 18:16:10 +0000 (14:16 -0400)]
Merge pull request #15771 from fangyuxiangGL/cleanup_rgw_admin

rgw: cleanup unused codes in rgw_admin.cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15768 from ukernel/wip-objecter-inflight-ops
John Spray [Tue, 20 Jun 2017 18:13:40 +0000 (14:13 -0400)]
Merge pull request #15768 from ukernel/wip-objecter-inflight-ops

osdc/Objecter: fix inflight_ops update

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15737 from wjwithagen/wip-wjw-test_rgw_string
Casey Bodley [Tue, 20 Jun 2017 18:02:49 +0000 (14:02 -0400)]
Merge pull request #15737 from wjwithagen/wip-wjw-test_rgw_string

rgw/rgw_string.h: FreeBSD would like errno.h included

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15782 from cbodley/wip-rgw-vstart-s3tests
Yehuda Sadeh [Tue, 20 Jun 2017 18:02:28 +0000 (11:02 -0700)]
Merge pull request #15782 from cbodley/wip-rgw-vstart-s3tests

vstart: add rgw configuration needed to pass all s3tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agovstart: add rgw configuration needed to pass all s3tests 15782/head
Casey Bodley [Tue, 20 Jun 2017 15:36:42 +0000 (11:36 -0400)]
vstart: add rgw configuration needed to pass all s3tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/objectstore/bluestore*: fsck on mount 15785/head
Sage Weil [Tue, 20 Jun 2017 16:17:48 +0000 (12:17 -0400)]
qa/objectstore/bluestore*: fsck on mount

This will catch more bugs!

Signed-off-by: Sage Weil <sage@redhat.com>