]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosd/PrimaryLogPG: add condition "is_chunky_scrub_active" to check object in chunky_scrub. 18506/head
Jianpeng Ma [Tue, 24 Oct 2017 14:07:18 +0000 (22:07 +0800)]
osd/PrimaryLogPG: add condition "is_chunky_scrub_active" to check object in chunky_scrub.

Avoid every time call scrubber.write_block_by_scrub. Most time scrubber
is inactive. And compare to write_block_by_scrub, is_chunky_scrub_active
is light.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge PR #18255 into master
Patrick Donnelly [Tue, 24 Oct 2017 00:07:37 +0000 (17:07 -0700)]
Merge PR #18255 into master

* refs/pull/18255/head:
os/bluestore: handle compressed extents in blob unsharing checks

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #17722 from amitkumar50/cov-rgw-6
Matt Benjamin [Mon, 23 Oct 2017 21:00:37 +0000 (17:00 -0400)]
Merge pull request #17722 from amitkumar50/cov-rgw-6

rgw: Initialization of epoch,len

7 years agoMerge pull request #17305 from theanalyst/rgw-lc-tagging
Yuri Weinstein [Mon, 23 Oct 2017 20:48:40 +0000 (13:48 -0700)]
Merge pull request #17305 from theanalyst/rgw-lc-tagging

RGW: support for tagging in lifecycle policies

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #18291 from ZVampirEM77/wip-copy-errormsg
Yuri Weinstein [Mon, 23 Oct 2017 20:46:01 +0000 (13:46 -0700)]
Merge pull request #18291 from ZVampirEM77/wip-copy-errormsg

rgw: copy object add response error messages

Reviewed-by: Amit Kumar amitkuma@redhat.com
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18194 from ivancich/wip-mclock-repops-bitmap
Sage Weil [Mon, 23 Oct 2017 19:33:57 +0000 (14:33 -0500)]
Merge pull request #18194 from ivancich/wip-mclock-repops-bitmap

osd: replace mclock subop opclass w/ rep_op opclass; combine duplicated code

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18487 from liewegas/wip-20557
Sage Weil [Mon, 23 Oct 2017 19:09:53 +0000 (14:09 -0500)]
Merge pull request #18487 from liewegas/wip-20557

/etc/sysconfig/ceph: remove jemalloc option

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #18448 from ceph/wip-bz1499840
Andrew Schoen [Mon, 23 Oct 2017 18:55:55 +0000 (13:55 -0500)]
Merge pull request #18448 from ceph/wip-bz1499840

ceph-volume lvm bluestore support

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #18403 from dillaman/wip-librbd-flush
Mykola Golub [Mon, 23 Oct 2017 18:12:20 +0000 (21:12 +0300)]
Merge pull request #18403 from dillaman/wip-librbd-flush

 librbd: sync flush should re-use existing async flush logic

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agorbd: bench should flush prior to starting a test 18403/head
Jason Dillaman [Thu, 19 Oct 2017 14:37:01 +0000 (10:37 -0400)]
rbd: bench should flush prior to starting a test

For the new read-based bench tests, flushing prior to the start of the test
will result in the exclusive lock being acquired and the object map being
utilized.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years ago/etc/sysconfig/ceph: remove jemalloc option 18487/head
Sage Weil [Mon, 23 Oct 2017 17:05:39 +0000 (12:05 -0500)]
/etc/sysconfig/ceph: remove jemalloc option

This breaks when used with rocksdb, which is now the default.

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

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18486 from liewegas/wip-20557
Sage Weil [Mon, 23 Oct 2017 16:52:43 +0000 (11:52 -0500)]
Merge pull request #18486 from liewegas/wip-20557

etc/default/ceph: remove jemalloc option

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoetc/default/ceph: remove jemalloc option 18486/head
Sage Weil [Mon, 23 Oct 2017 16:16:26 +0000 (11:16 -0500)]
etc/default/ceph: remove jemalloc option

This breaks when used with rocksdb, which is now the default.

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

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18408 from liewegas/wip-buffer-mempool-abi
Sage Weil [Mon, 23 Oct 2017 15:52:42 +0000 (10:52 -0500)]
Merge pull request #18408 from liewegas/wip-buffer-mempool-abi

buffer: avoid changing bufferlist ABI by removing new _mempool field

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18356 from wido/docs-zabbix-mgr
Kefu Chai [Mon, 23 Oct 2017 15:35:51 +0000 (23:35 +0800)]
Merge pull request #18356 from wido/docs-zabbix-mgr

doc: Updated documentation for Zabbix Mgr module

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18474 from tchaikov/wip-debian-fix-upgrade
Kefu Chai [Mon, 23 Oct 2017 15:30:22 +0000 (23:30 +0800)]
Merge pull request #18474 from tchaikov/wip-debian-fix-upgrade

debian: fix package relationships after 40caf6a6

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-volume lvm.activate only prime-osd-dir when directory is empty 18448/head
Alfredo Deza [Mon, 23 Oct 2017 13:44:27 +0000 (09:44 -0400)]
ceph-volume lvm.activate only prime-osd-dir when directory is empty

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoosd: replace mclock subop opclass w/ rep_op opclass; combine duplicated code 18194/head
J. Eric Ivancich [Wed, 30 Aug 2017 16:54:23 +0000 (12:54 -0400)]
osd: replace mclock subop opclass w/ rep_op opclass; combine duplicated code

The OSD subops were replaced with replication ops (i.e., MSG_OSD_REPOP
and MSG_OSD_REPOPREPLY) in jewel. mClock incorrectly used them as an
op class rather than the newer replication ops. This fixes that and
places eight ops into the repop class -- MSG_OSD_REPOP,
MSG_OSD_REPOPREPLY, MSG_OSD_PG_UPDATE_LOG_MISSING,
MSG_OSD_PG_UPDATE_LOG_MISSING_REPLY, MSG_OSD_EC_WRITE,
MSG_OSD_EC_WRITE_REPLY, MSG_OSD_EC_READ, and MSG_OSD_EC_READ_REPLY.

This alo removes dupliated code related to op classes in
mClockOpClassQueue and mClockClientQueue and combines into
mClockOpClassSupport.

The three configuration options
osd_op_queue_mclock_osd_subop_{res,wgt,lim} have also been replaced
with osd_op_queue_mclock_osd_rep_op_{res,wgt,lim}.

This also removes OpQueueItem::OpQueueable::op_type_t::osd_subop since
it's not a category core ceph recognizes and is instead it's part of
an mclock view of ops.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoceph-volume lvm.activate safeguard against auto detect objectstore flag not being set
Alfredo Deza [Mon, 23 Oct 2017 13:20:26 +0000 (09:20 -0400)]
ceph-volume lvm.activate safeguard against auto detect objectstore flag not being set

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #18423 from ashishkumsingh/wip-doc-fix-iscsi-chap-config
Jason Dillaman [Mon, 23 Oct 2017 12:37:43 +0000 (08:37 -0400)]
Merge pull request #18423 from ashishkumsingh/wip-doc-fix-iscsi-chap-config

doc: Added CHAP configuration instructions for iSCSI

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodebian: fix package relationships after d3ac8d18 18474/head
Kefu Chai [Mon, 23 Oct 2017 12:15:16 +0000 (20:15 +0800)]
debian: fix package relationships after d3ac8d18

d3ac8d18 moves ceph-client-debug from ceph-test to ceph-base without
updating the package relationships between the two involved packages.
which results in:

dpkg: error processing archive /var/cache/apt/archives/ceph-test_12.2.1-241-g43e027b-1trusty_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/ceph-client-debug', which is also in package ceph-base 10.2.10-14-gcbaddae-1trusty
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodebian: fix package relationships after 40caf6a6
Kefu Chai [Mon, 23 Oct 2017 07:26:35 +0000 (15:26 +0800)]
debian: fix package relationships after 40caf6a6

we have issues when running upgrade tests:

dpkg: error processing archive /var/cache/apt/archives/ceph-osd_13.0.0-2201-g6cc0b41-1trusty_amd64.deb (--unpack):
trying to overwrite '/usr/bin/ceph-osdomap-tool', which is also in package ceph-test 10.2.10-14-gcbaddae-1trusty

in 40caf6a6, we moves some tools from ceph-test out into ceph-osd,
ceph-mon and ceph-base respectively. but didn't update the relationships
between these packages accordingly. this causes the upgrade failure.

see https://www.debian.org/doc/debian-policy/#document-ch-relationships
for more details on "Breaks" and "Conflicts".

the reason why the package version to be replaced/conflicted is 12.2.2
is that: i assume that this change will be backported to luminous, and
the next release of it will be 12.2.2 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18478 from trociny/wip-valgrid-trim-unittest
Jason Dillaman [Mon, 23 Oct 2017 10:51:58 +0000 (06:51 -0400)]
Merge pull request #18478 from trociny/wip-valgrid-trim-unittest

test/librbd: memory leak in recently added test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #15811 from x-ion-de/wip-20309
Kefu Chai [Mon, 23 Oct 2017 10:42:46 +0000 (18:42 +0800)]
Merge pull request #15811 from x-ion-de/wip-20309

doc: Update manual deployment

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotest/librbd: memory leak in recently added test 18478/head
Mykola Golub [Mon, 23 Oct 2017 09:34:19 +0000 (12:34 +0300)]
test/librbd: memory leak in recently added test

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge PR #18372 into master
Patrick Donnelly [Mon, 23 Oct 2017 03:26:16 +0000 (20:26 -0700)]
Merge PR #18372 into master

* refs/pull/18372/head:
ptl-tool: Fix more readme examples

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agolibrbd: sync flush should re-use existing async flush logic
Jason Dillaman [Thu, 19 Oct 2017 14:35:31 +0000 (10:35 -0400)]
librbd: sync flush should re-use existing async flush logic

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18368 from kungf/scrub_week_day_bound
Kefu Chai [Sat, 21 Oct 2017 19:33:14 +0000 (03:33 +0800)]
Merge pull request #18368 from kungf/scrub_week_day_bound

osd: add scrub week day constraint

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18400 from dillaman/wip-21844
Sage Weil [Sat, 21 Oct 2017 17:46:57 +0000 (12:46 -0500)]
Merge pull request #18400 from dillaman/wip-21844

osdc/Objecter: skip sparse-read result decode if bufferlist is empty

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18418 from dillaman/wip-21860
Sage Weil [Sat, 21 Oct 2017 17:46:14 +0000 (12:46 -0500)]
Merge pull request #18418 from dillaman/wip-21860

common/common_init: disable ms subsystem log gathering for clients

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18427 from dillaman/wip-21845
Sage Weil [Sat, 21 Oct 2017 17:45:36 +0000 (12:45 -0500)]
Merge pull request #18427 from dillaman/wip-21845

osdc/Objecter: delay initialization of hobject_t in _send_op

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #18450 from liewegas/wip-osd-removing
Sage Weil [Sat, 21 Oct 2017 17:44:29 +0000 (12:44 -0500)]
Merge pull request #18450 from liewegas/wip-osd-removing

osd: add numpg_removing metric

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18452 from liewegas/wip-21880
Sage Weil [Sat, 21 Oct 2017 17:44:00 +0000 (12:44 -0500)]
Merge pull request #18452 from liewegas/wip-21880

ceph_test_objectstore: disable filestore_fiemap for tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18454 from liewegas/wip-21882
Sage Weil [Sat, 21 Oct 2017 17:43:20 +0000 (12:43 -0500)]
Merge pull request #18454 from liewegas/wip-21882

messages/MOSDMap: do compat reencode of crush map, too

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18457 from liewegas/wip-restful-health
Sage Weil [Sat, 21 Oct 2017 17:41:58 +0000 (12:41 -0500)]
Merge pull request #18457 from liewegas/wip-restful-health

qa/suites/rados/rest/mgr-restful: whitelist more health

7 years agoqa/suites/rados/rest/mgr-restful: whitelist more health 18457/head
Sage Weil [Sat, 21 Oct 2017 04:14:36 +0000 (23:14 -0500)]
qa/suites/rados/rest/mgr-restful: whitelist more health

The test is fiddling with OSDs.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomessages/MOSDMap: do compat reencode of crush map, too 18454/head
Sage Weil [Sat, 21 Oct 2017 03:32:33 +0000 (22:32 -0500)]
messages/MOSDMap: do compat reencode of crush map, too

If we are reencoding an incremental, and it embeds a crush map, we need
to reencode that in a compatible way too.  This is especially true now
because we have the compat crush weight-sets.  Otherwise, a client may
learn the crush map through an incremental but not understand choose_args,
and not see/understand the alternate weight set.  It will send requests
to the wrong OSDs where they will just get dropped.

Fixes: http://tracker.ceph.com/issues/21882
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18406 from adamemerson/wip-insecticide
Kefu Chai [Sat, 21 Oct 2017 02:42:04 +0000 (10:42 +0800)]
Merge pull request #18406 from adamemerson/wip-insecticide

test,osd,kvstore_tool: silence warnings and prepare test buffer in the right way

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18379 from liewegas/wip-kill-replay-interval
Kefu Chai [Sat, 21 Oct 2017 02:39:40 +0000 (10:39 +0800)]
Merge pull request #18379 from liewegas/wip-kill-replay-interval

osd/osd_types: pg_pool_t: remove crash_replay_interval member

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #18407 from adamemerson/wip-upgrade-zstd
Kefu Chai [Sat, 21 Oct 2017 02:39:18 +0000 (10:39 +0800)]
Merge pull request #18407 from adamemerson/wip-upgrade-zstd

zstd: Upgrade to v1.3.2

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18357 from asomers/have_libaio
Kefu Chai [Sat, 21 Oct 2017 02:38:37 +0000 (10:38 +0800)]
Merge pull request #18357 from asomers/have_libaio

Build: create a proper WITH_BLUESTORE option

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-By: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18354 from kungf/no_scurb_deadline
Sage Weil [Fri, 20 Oct 2017 22:22:43 +0000 (17:22 -0500)]
Merge pull request #18354 from kungf/no_scurb_deadline

osd: make scrub no deadline when max interval is zero

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18396 from xiexingguo/wip-scrub-mismatch
Yuri Weinstein [Fri, 20 Oct 2017 21:47:14 +0000 (14:47 -0700)]
Merge pull request #18396 from xiexingguo/wip-scrub-mismatch

osd/osd_types.cc: copy extents map too while making clone

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoceph_test_objectstore: disable filestore_fiemap for tests 18452/head
Sage Weil [Fri, 20 Oct 2017 21:32:59 +0000 (16:32 -0500)]
ceph_test_objectstore: disable filestore_fiemap for tests

This option was enabled in 87f33376d977962ab7438c46873ea9b6292390d1 but
causes ObjectStore/StoreTest.Synthetic/1 (filestore) to fail.  Revert that
bit for now until we fix fiemap properly.

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

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16958 from mikulely/fix-full-uri
Yuri Weinstein [Fri, 20 Oct 2017 20:49:29 +0000 (13:49 -0700)]
Merge pull request #16958 from mikulely/fix-full-uri

rgw: fix opslog uri as per Amazon s3

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17546 from mikulely/rgw-cleanup-min
Yuri Weinstein [Fri, 20 Oct 2017 20:47:34 +0000 (13:47 -0700)]
Merge pull request #17546 from mikulely/rgw-cleanup-min

rgw: cleanup MIN macro with std::min

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #17934 from joke-lee/rgw_list_objecst_wrong_result_with_marker_whe...
Yuri Weinstein [Fri, 20 Oct 2017 20:46:09 +0000 (13:46 -0700)]
Merge pull request #17934 from joke-lee/rgw_list_objecst_wrong_result_with_marker_when_enable_versioning

rgw:fix list objects with marker wrong result  when bucket is enable versioning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #17673 from mogeb/blkin
Ali Maredia [Fri, 20 Oct 2017 19:52:55 +0000 (15:52 -0400)]
Merge pull request #17673 from mogeb/blkin

blkin: link against lttng-ust-fork

7 years agoceph-volume util.system use strings for comparison in py3
Alfredo Deza [Fri, 20 Oct 2017 19:18:20 +0000 (15:18 -0400)]
ceph-volume util.system use strings for comparison in py3

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agof ceph-volume tests update changes from the help menu in lvm
Alfredo Deza [Fri, 20 Oct 2017 19:10:08 +0000 (15:10 -0400)]
f ceph-volume tests update changes from the help menu in lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #18414 from majianpeng/pmem-work
Kefu Chai [Fri, 20 Oct 2017 18:58:01 +0000 (02:58 +0800)]
Merge pull request #18414 from majianpeng/pmem-work

libmpem: Revert "submodule: make libmpem as a submodule."

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: add numpg_removing metric 18450/head
Sage Weil [Fri, 20 Oct 2017 16:00:53 +0000 (11:00 -0500)]
osd: add numpg_removing metric

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc: Added CHAP cofiguration instructions for iSCSI 18423/head
Ashish Singh [Fri, 20 Oct 2017 15:15:35 +0000 (20:45 +0530)]
doc: Added CHAP cofiguration instructions for iSCSI

Added details to specify the CHAP username and password while
discovering/login the iSCSI target.

Signed-off-by: Ashish Singh <assingh@redhat.com>
7 years agoceph-volume lvm.common --journal-size doesn't accept a volume group
Alfredo Deza [Fri, 20 Oct 2017 18:12:02 +0000 (14:12 -0400)]
ceph-volume lvm.common --journal-size doesn't accept a volume group

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare filestore does not require a volume group
Alfredo Deza [Fri, 20 Oct 2017 18:04:31 +0000 (14:04 -0400)]
ceph-volume lvm.prepare filestore does not require a volume group

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common volume groups are no longer required
Alfredo Deza [Fri, 20 Oct 2017 18:04:05 +0000 (14:04 -0400)]
ceph-volume lvm.common volume groups are no longer required

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume activate workflow mention tmpfs in osd dirs
Alfredo Deza [Fri, 20 Oct 2017 16:07:06 +0000 (12:07 -0400)]
doc/ceph-volume activate workflow mention tmpfs in osd dirs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume update activation to include bluestore support
Alfredo Deza [Fri, 20 Oct 2017 16:02:10 +0000 (12:02 -0400)]
doc/ceph-volume update activation to include bluestore support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume update create to indicate bluestore support
Alfredo Deza [Fri, 20 Oct 2017 15:58:47 +0000 (11:58 -0400)]
doc/ceph-volume update create to indicate bluestore support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume update prepare with bluestore workflow
Alfredo Deza [Fri, 20 Oct 2017 15:51:55 +0000 (11:51 -0400)]
doc/ceph-volume update prepare with bluestore workflow

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume update filestore to indicate it is not the only/default objectstore
Alfredo Deza [Fri, 20 Oct 2017 14:15:09 +0000 (10:15 -0400)]
doc/ceph-volume update filestore to indicate it is not the only/default objectstore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume elaborate on env vars for interval and tries in activation
Alfredo Deza [Fri, 20 Oct 2017 14:00:17 +0000 (10:00 -0400)]
doc/ceph-volume elaborate on env vars for interval and tries in activation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common update cli flags help for bluestore support
Alfredo Deza [Fri, 20 Oct 2017 13:33:55 +0000 (09:33 -0400)]
ceph-volume lvm.common update cli flags help for bluestore support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.disk st_mode is needed for stat()
Alfredo Deza [Fri, 20 Oct 2017 13:23:35 +0000 (09:23 -0400)]
ceph-volume util.disk st_mode is needed for stat()

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume decorators always log to the file with exceptions
Alfredo Deza [Fri, 20 Oct 2017 13:23:02 +0000 (09:23 -0400)]
ceph-volume decorators always log to the file with exceptions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify behavior of get_lv_from_argument
Alfredo Deza [Fri, 20 Oct 2017 12:49:32 +0000 (08:49 -0400)]
ceph-volume tests verify behavior of get_lv_from_argument

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm return result of get_lv when using arguments
Alfredo Deza [Fri, 20 Oct 2017 12:48:01 +0000 (08:48 -0400)]
ceph-volume api.lvm return result of get_lv when using arguments

If the argument is an absolute path it is fine to just return whatever
get_lv finds since it is a "safe" call, it will return a None if nothing
is found

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.listing support bluestore, not only filestore
Alfredo Deza [Fri, 20 Oct 2017 12:12:01 +0000 (08:12 -0400)]
ceph-volume lvm.listing support bluestore, not only filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm allow full paths to detect lv from arguments
Alfredo Deza [Fri, 20 Oct 2017 12:10:51 +0000 (08:10 -0400)]
ceph-volume api.lvm allow full paths to detect lv from arguments

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests add support for bluestore list verification
Alfredo Deza [Fri, 20 Oct 2017 12:10:26 +0000 (08:10 -0400)]
ceph-volume tests add support for bluestore list verification

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests activate with fsid works for bluestore and filestore
Alfredo Deza [Thu, 19 Oct 2017 17:20:55 +0000 (13:20 -0400)]
ceph-volume tests activate with fsid works for bluestore and filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests arg validator can accept absolute paths
Alfredo Deza [Thu, 19 Oct 2017 17:14:05 +0000 (13:14 -0400)]
ceph-volume tests arg validator can accept absolute paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests update changes from the help menu in lvm
Alfredo Deza [Thu, 19 Oct 2017 16:03:17 +0000 (12:03 -0400)]
ceph-volume tests update changes from the help menu in lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests update to get_lv from get_journal_lv
Alfredo Deza [Thu, 19 Oct 2017 15:46:57 +0000 (11:46 -0400)]
ceph-volume tests update to get_lv from get_journal_lv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.util new path/device mount interface
Alfredo Deza [Thu, 19 Oct 2017 15:30:29 +0000 (11:30 -0400)]
ceph-volume tests.util new path/device mount interface

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests update api.lvm tests
Alfredo Deza [Thu, 19 Oct 2017 13:49:25 +0000 (09:49 -0400)]
ceph-volume tests update api.lvm tests

The create_lv signature changed to require full size description and
tags need to be an actual dictionary (vs. keyword args)

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #18335 from linuxbox2/wip-rgw-readdir2
Casey Bodley [Fri, 20 Oct 2017 15:55:17 +0000 (11:55 -0400)]
Merge pull request #18335 from linuxbox2/wip-rgw-readdir2

rgw_file: implement variant offset readdir processing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agocommon/common_init: disable ms subsystem log gathering for clients 18418/head
Jason Dillaman [Fri, 20 Oct 2017 02:13:36 +0000 (22:13 -0400)]
common/common_init: disable ms subsystem log gathering for clients

The log gathering causes large performance degradation to clients
with high message throughputs. This is hopefully a short-term
workaround until per-message logging can be replaced with an
efficient data recording system for post-incident analysis
use-cases.

Fixes: http://tracker.ceph.com/issues/21860
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18392 from tchaikov/wip-21842
Kefu Chai [Fri, 20 Oct 2017 13:37:44 +0000 (21:37 +0800)]
Merge pull request #18392 from tchaikov/wip-21842

os/bluestore: implement BlueRocksEnv::AreFilesSame()

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosdc/Objecter: delay initialization of hobject_t in _send_op 18427/head
Jason Dillaman [Fri, 20 Oct 2017 13:32:14 +0000 (09:32 -0400)]
osdc/Objecter: delay initialization of hobject_t in _send_op

Fixes: http://tracker.ceph.com/issues/21845
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorgw: copy object add response error message 18291/head
Enming Zhang [Fri, 13 Oct 2017 09:00:15 +0000 (17:00 +0800)]
rgw: copy object add response error message

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agobuffer: remove list _mempool member 18408/head
Sage Weil [Thu, 19 Oct 2017 21:19:35 +0000 (16:19 -0500)]
buffer: remove list _mempool member

This broke the C++ ABI by changing the list structure size.  Also, it's
not necessary as we can infer the mempool by looking at the other list
contents.  We don't (currently) have a need to map an empty list to a
particular mempool and have that state stick.

Fixes: http://tracker.ceph.com/issues/21573
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18251 from jan--f/mgr-py-module-constants
John Spray [Fri, 20 Oct 2017 11:58:22 +0000 (12:58 +0100)]
Merge pull request #18251 from jan--f/mgr-py-module-constants

pybind/mgr_module: move PRIO_* and PERFCOUNTER_* to MgrModule class

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18021 from jcsp/wip-prometheus-disk-occupation
John Spray [Fri, 20 Oct 2017 11:28:12 +0000 (12:28 +0100)]
Merge pull request #18021 from jcsp/wip-prometheus-disk-occupation

mgr/prometheus: add ceph_disk_occupation series

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoRevert "submodule: make libmpem as a submodule." 18414/head
Jianpeng Ma [Thu, 19 Oct 2017 10:28:48 +0000 (18:28 +0800)]
Revert "submodule: make libmpem as a submodule."

This reverts commit 6a14159ee4b910bf83b38316f98ef07edf5f9a01.
Using ExternalProject_Add::GIT to download nvml source .

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge pull request #18250 from dillaman/wip-21763
Mykola Golub [Fri, 20 Oct 2017 08:55:44 +0000 (11:55 +0300)]
Merge pull request #18250 from dillaman/wip-21763

doc/rbd: tweaks for the LIO iSCSI gateway

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoos/bluestore: implement BlueRocksEnv::AreFilesSame() 18392/head
Kefu Chai [Thu, 19 Oct 2017 07:22:49 +0000 (15:22 +0800)]
os/bluestore: implement BlueRocksEnv::AreFilesSame()

it is used by the "repair" feature to dedup the files to be searched for
MANIFEST-* files. the default implementation is the POSIX one, which
tries to look at the local fs, but we should be looking for the files in
the bluefs. in this very use case, wal and db do not share the same device,
so we can just compare the paths. actually, it should aways return
"false". as the files being compared are always "db" and "db.wal".

Fixes: http://tracker.ceph.com/issues/21842
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18387 from tchaikov/wip-dmclock-client-info-ptr
Kefu Chai [Fri, 20 Oct 2017 03:47:59 +0000 (11:47 +0800)]
Merge pull request #18387 from tchaikov/wip-dmclock-client-info-ptr

osd,dmclock: use pointer to ClientInfo instead of a copy of it

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #18350 from ovh/bp-ceph-conf-dump-all
Kefu Chai [Fri, 20 Oct 2017 03:46:26 +0000 (11:46 +0800)]
Merge pull request #18350 from ovh/bp-ceph-conf-dump-all

tools/ceph-conf: dump parsed config in plain text or as json

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18367 from zealoussnow/wip-10180
Kefu Chai [Fri, 20 Oct 2017 03:45:38 +0000 (11:45 +0800)]
Merge pull request #18367 from zealoussnow/wip-10180

ceph-bluestore-tool: create out_dir before create full path  of kvdb

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosd: add scrub week day constraint 18368/head
kungf [Tue, 17 Oct 2017 14:40:43 +0000 (22:40 +0800)]
osd: add scrub week day constraint

if add week day constraint, we can set scrub permit time
more flexible. eg. we can set scurb in Monday-Wednesday 0-12 o'clock
according set this parameter:
osd_scrub_begin_week_day = 1
osd_scrub_end_week_day = 3
osd_scrub_begin_hour = 0
osd_scrub_end_hour = 12

Signed-off-by: kungf <yang.wang@easystack.cn>
7 years agoosdc/Objecter: skip sparse-read result decode if bufferlist is empty 18400/head
Jason Dillaman [Fri, 20 Oct 2017 02:24:31 +0000 (22:24 -0400)]
osdc/Objecter: skip sparse-read result decode if bufferlist is empty

If the OSD does not execute sub-ops due to errors encountered prior to
the sub-op, the sub-op result remains zeroed with empty out data.
Attempting to decode the empty bufferlist results in large exception
handling CPU overhead.

Fixes: http://tracker.ceph.com/issues/21844
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17441 from yanyixing/update-umcloud-affiliation
Kefu Chai [Fri, 20 Oct 2017 01:58:49 +0000 (09:58 +0800)]
Merge pull request #17441 from yanyixing/update-umcloud-affiliation

mailmap: Update umcloud affiliation

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agobuffer: allow mempool to be passed into raw* ctors and create methods
Sage Weil [Thu, 19 Oct 2017 21:09:10 +0000 (16:09 -0500)]
buffer: allow mempool to be passed into raw* ctors and create methods

This is more convenient, and also faster than initializing it in
buffer_anon and the immediately moving it elsewhere.

Drop the optionality of the alignment argument.

No users yet.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agozstd: Upgrade to v1.3.2 18407/head
Adam C. Emerson [Thu, 19 Oct 2017 20:08:07 +0000 (16:08 -0400)]
zstd: Upgrade to v1.3.2

This buys us fixes for a few memory errors and asserts and also
improves the CMake build script so it doesn't mostly ignore the
CXXFLAGS we pass in.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #18374 from tchaikov/wip-ceph-C-d
Josh Durgin [Thu, 19 Oct 2017 18:52:13 +0000 (11:52 -0700)]
Merge pull request #18374 from tchaikov/wip-ceph-C-d

ceph.in: do not panic at control+d in interactive mode

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoOSD: Silence unused variable warnings 18406/head
Adam C. Emerson [Thu, 19 Oct 2017 18:21:30 +0000 (14:21 -0400)]
OSD: Silence unused variable warnings

Even though extending the lifetime of this temporary delays execution
of its destructor, the compiler does not consider the reference to
have a side-effecting constructor.

The compiler is wrong, but we can silence its complaints.

This will cease to be an issue once we adopt C++17, since mandatory
RVO will solve the inability to bind a variable to a returned
move-only object and the need to extend a temporary.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agokvstore_tool: Create default constructor
Adam C. Emerson [Thu, 19 Oct 2017 17:59:50 +0000 (13:59 -0400)]
kvstore_tool: Create default constructor

Clang4 does not recognize a constructor with all arguments defaulted
as a default constructor in some circumstances.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agotest/cls_journal: Fix reversed std::string constructor arguments
Adam C. Emerson [Thu, 19 Oct 2017 17:15:32 +0000 (13:15 -0400)]
test/cls_journal: Fix reversed std::string constructor arguments

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoUpdate docs for manual deployment 15811/head
Jens Rosenboom [Mon, 19 Jun 2017 08:55:56 +0000 (08:55 +0000)]
Update docs for manual deployment

Fixes: http://tracker.ceph.com/issues/20309
Signed-off-by: Jens Rosenboom <j.rosenboom@x-ion.de>