]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
yuliyang [Thu, 26 Oct 2017 06:35:56 +0000 (14:35 +0800)]
rgw: add cors header rule check in cors option request
fix http://tracker.ceph.com/issues/22002
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
Kefu Chai [Tue, 24 Oct 2017 04:27:15 +0000 (12:27 +0800)]
Merge pull request #18460 from liewegas/wip-straw2-command
mon/OSDMonitor: add 'osd crush set-all-straw-buckets-to-straw2'
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 24 Oct 2017 03:30:05 +0000 (22:30 -0500)]
Merge pull request #18428 from liewegas/wip-21878
os/bluestore/BlueFS: fix race with log flush during async log compaction
Reviewed-by: Varada Kari <varada.kari@gmail.com>
Sage Weil [Tue, 24 Oct 2017 03:29:41 +0000 (22:29 -0500)]
Merge pull request #18470 from yuyuyu101/wip-tracker-lock
osd/OpRequest: reduce overhead when disabling tracking
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 24 Oct 2017 03:29:19 +0000 (22:29 -0500)]
Merge pull request #18472 from yuyuyu101/wip-kill-asynccompressor
compressor: kill AsyncCompressor which is broken
Reviewed-by: Kefu Chai <kchai@redhat.com>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sage Weil [Sat, 21 Oct 2017 18:03:17 +0000 (13:03 -0500)]
mon/OSDMonitor: add 'osd crush set-all-straw-buckets-to-straw2'
This is a common and recommended step that users should take once they
have clients that support straw2 (hammer!). Let's make it easy.
This may result in a small amount of data movement, but usually it is
very little.
Signed-off-by: Sage Weil <sage@redhat.com>
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>
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>
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>
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>
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>
Haomai Wang [Mon, 23 Oct 2017 05:39:33 +0000 (13:39 +0800)]
compressor: kill AsyncCompressor which is broken
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Mon, 23 Oct 2017 05:20:31 +0000 (13:20 +0800)]
osd/OpRequest: don't mark_event when disable tracker
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Mon, 23 Oct 2017 05:19:06 +0000 (13:19 +0800)]
common/TrackedOp: make tracking_enabled atomic without lock protect
Signed-off-by: Haomai Wang <haomai@xsky.com>
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>
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>
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>
Sage Weil [Sat, 21 Oct 2017 17:59:16 +0000 (12:59 -0500)]
crush/CrushWrapper: add bucket_set_alg()
Signed-off-by: Sage Weil <sage@redhat.com>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sage Weil [Fri, 20 Oct 2017 13:51:17 +0000 (08:51 -0500)]
os/bluestore/BlueFS: fix race with log flush during async log compaction
During async log compaction we rely on _flush-and_sync_log to update the
log_writer to jump_to. However, if racing threads are also trying to flush
the log and manage to flush our new log events for us, then our flush will
turn into a no-op, and we won't update jump_to correctly at all. This
results in a corrupted log size a bit later one.
Fix by ensuring that there are no in-progress flushes before we add our
log entries. Also, add asserts to _flush_and_sync_log to make sure we
never bail out early if jump_to is set (which would indicate this or
another similar bug is still present).
Fixes: http://tracker.ceph.com/issues/21878
Signed-off-by: Sage Weil <sage@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>