]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Dan Mick [Fri, 21 Apr 2017 18:18:27 +0000 (11:18 -0700)]
CMakeLists.txt: don't do crypto/isa-l if not Intel
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Sage Weil [Fri, 21 Apr 2017 18:16:48 +0000 (13:16 -0500)]
Merge pull request #14720 from liewegas/wip-19591
mgr: fix session leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 12 Apr 2017 13:59:03 +0000 (09:59 -0400)]
vstart.sh: add --valgrind_args
To do leak checking, you can do
vstart.sh ... \
--valgrind_mgr memcheck \
--valgrind_args '--leak-check=full --show-reachable=yes'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Apr 2017 13:58:18 +0000 (09:58 -0400)]
mgr/MgrSession: allow ref tracing, and fix ref leak
The first RefCountedObj ctor arg is a cct, not a ref count.
Fixes: http://tracker.ceph.com/issues/19591
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Apr 2017 13:35:03 +0000 (09:35 -0400)]
vstart.sh: add --valgrind_mgr
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:23:41 +0000 (12:23 -0500)]
Merge pull request #12272 from kylinstorage/wip-writesame
osd: use append(bufferlist &) to avoid unnecessary copy
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:23:05 +0000 (12:23 -0500)]
Merge pull request #11684 from runsisi/wip-fix-asok-mode
common/admin_socket: add config for admin socket permission bits
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:22:51 +0000 (12:22 -0500)]
Merge pull request #13019 from wonzhq/wip-long-io
osd: support dumping long ops
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 17:22:38 +0000 (12:22 -0500)]
Merge pull request #14358 from majianpeng/osd-remove-modsubop
osd/ReplicatedBackend: remove MOSDSubOp cruft from repop_applied
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 15:17:14 +0000 (11:17 -0400)]
Merge pull request #14268 from hrchu/swift/java
doc: rgw: Rewrite Java swift examples
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 15:08:27 +0000 (23:08 +0800)]
Merge pull request #10384 from wjwithagen/wip-wjw-reduce-noise
common/ceph_context.cc: Use CEPH_DEV to reduce logfile noise
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 15:04:57 +0000 (23:04 +0800)]
Merge pull request #14693 from mogeb/init-ceph-libs
init-ceph: add ceph libraries path to environment
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 15:00:07 +0000 (23:00 +0800)]
Merge pull request #12898 from XinzeChi/wip-interval-return
common/interval_set: return int64_t for size()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:57:44 +0000 (22:57 +0800)]
Merge pull request #14232 from jcsp/wip-19412
mgr: fix python module teardown & add tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:56:21 +0000 (22:56 +0800)]
Merge pull request #14584 from tchaikov/wip-19631
qa/suites: Revert "qa/suites: add mon-reweight-min-pgs-per-osd = 4"
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Apr 2017 14:55:37 +0000 (22:55 +0800)]
Merge pull request #14504 from tchaikov/wip-another-mgr-command
mon,mgr: trim osdmap without the help of pgmap
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:54:55 +0000 (10:54 -0400)]
Merge pull request #14055 from hrchu/radosgw-admin-api-user-caps
doc: correct and improve add user capability section
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:52:28 +0000 (10:52 -0400)]
Merge pull request #13956 from hrchu/rgw-admin-doc
Indicate how to add multiple admin capbabilies
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:50:55 +0000 (10:50 -0400)]
Merge pull request #14372 from hrchu/rgwadmin-admin-doc-usage
doc: rgw: correct get usage parameter default value
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 21 Apr 2017 14:26:19 +0000 (10:26 -0400)]
Merge pull request #14547 from smithfarm/wip-create-pool
rgw: cleanup: fix variable name in RGWRados::create_pool() declaration
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 21 Apr 2017 14:06:39 +0000 (09:06 -0500)]
Merge pull request #14697 from ceph/wip-rgw-upgrade-s3tests-encryption
qa/rgw: don't scan radosgw logs for encryption keys on jewel upgrade test
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:39:43 +0000 (08:39 -0500)]
Merge pull request #14424 from dachary/wip-jerasure-sync
erasure-code: sync jerasure/gf-complete submodules
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:38:59 +0000 (08:38 -0500)]
Merge pull request #14558 from liewegas/wip-18293
osd: fix occasional MOSDMap leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:38:47 +0000 (08:38 -0500)]
Merge pull request #14633 from SUSE/wip-yasm-wrapper-strip-E-flag
yasm-wrapper: strip -E (stops ccache trashing source files)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:38:32 +0000 (08:38 -0500)]
Merge pull request #14640 from ovh/bp-fiemap-burden
osd, os: reduce fiemap burden
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:37:46 +0000 (08:37 -0500)]
Merge pull request #14644 from liewegas/wip-rados-df-json
rados: out json 'df' values as numbers, not strings
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:37:31 +0000 (08:37 -0500)]
Merge pull request #14645 from liewegas/wip-mgr-mon
mon/MgrMonitor: only propose if we updated
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 21 Apr 2017 13:37:18 +0000 (08:37 -0500)]
Merge pull request #14648 from gregsfortytwo/wip-17916-master
osd: pglog: with config, don't assert in the presence of stale diverg…
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Fri, 21 Apr 2017 01:52:56 +0000 (21:52 -0400)]
Merge pull request #13978 from trociny/wip-18787
rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Fri, 21 Apr 2017 01:18:16 +0000 (18:18 -0700)]
Merge pull request #14647 from dzafman/wip-19698
Fix full testing in cephtool/test.sh when used by rados suite
Replace using sleep with new wait_for_health() bash function
Reviewed-by: Loic Dachary <ldachary@redhat.com>
David Zafman [Thu, 20 Apr 2017 19:57:43 +0000 (12:57 -0700)]
cephtool.yaml: Add "failsafe" osd error messages to whitelist
Signed-off-by: David Zafman <dzafman@redhat.com>
Willem Jan Withagen [Thu, 20 Apr 2017 15:49:41 +0000 (08:49 -0700)]
qa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Willem Jan Withagen [Wed, 19 Apr 2017 09:35:38 +0000 (11:35 +0200)]
qa/workunits/ceph-helpers.sh: introduce (and use) wait_for_health
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 20 Apr 2017 05:42:01 +0000 (22:42 -0700)]
mon: Fix incorrect health output and test code to match
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 20 Apr 2017 06:20:22 +0000 (23:20 -0700)]
/workunits/cephtool/test.sh: Improve testing of health-output.
Instead of
9ff401e65b1a66a320953aeef8ab65b6f1fb6f10 use regex to handle:
HEALTH_ERR 2 pgs stuck unclean; Full ratio(s) out of order
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 19 Apr 2017 23:54:07 +0000 (16:54 -0700)]
test: Fix test_admin_heap_profiler() and enable it
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 19 Apr 2017 23:30:58 +0000 (16:30 -0700)]
cephtool/test.sh: Get socket for whichever environment this test is running
Need sudo for qa suite runs
Fixes: http://tracker.ceph.com/issues/19698
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 20 Apr 2017 22:27:29 +0000 (17:27 -0500)]
Merge pull request #14689 from liewegas/wip-jewel-x
qa/suites/upgrade/jewel-x: add mgr.x role
Sage Weil [Wed, 19 Apr 2017 16:15:09 +0000 (12:15 -0400)]
rados: out json 'df' values as numbers, not strings
Fixes: http://tracker.ceph.com/issues/15546
Signed-off-by: Sage Weil <sage@redhat.com
Sage Weil [Thu, 20 Apr 2017 20:13:40 +0000 (15:13 -0500)]
Merge pull request #14423 from tchaikov/wip-cmake-crc32-cleanup
cmake: should not compile crc32c_ppc.c on intel arch.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 20 Apr 2017 20:13:18 +0000 (15:13 -0500)]
Merge pull request #14434 from ifed01/wip-bluestore-params
os/bluestore: make bluestore_max_blob_size parameter hdd/ssd case dependant
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Apr 2017 20:12:58 +0000 (15:12 -0500)]
Merge pull request #14448 from majianpeng/bluestore-kv-queued-lat
os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_…
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Apr 2017 20:12:36 +0000 (15:12 -0500)]
Merge pull request #14549 from tchaikov/wip-kill-clang-warnings
misc: kill clang warnings
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Thu, 20 Apr 2017 20:12:09 +0000 (15:12 -0500)]
Merge pull request #14557 from liewegas/wip-bluefs-balance-interval
os/bluestore: do not balance bluefs on every kv_sync_thread iteration
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Mohamad Gebai [Thu, 20 Apr 2017 19:40:13 +0000 (15:40 -0400)]
init-ceph: add ceph libraries path to environment
These libraries are set in vstart.sh, but not in init-ceph. When
init-ceph is not invoked through vstart.sh, library paths are missing.
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
Casey Bodley [Thu, 20 Apr 2017 18:49:04 +0000 (14:49 -0400)]
qa/rgw: don't scan radosgw logs for encryption keys on jewel upgrade test
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 20 Apr 2017 18:18:59 +0000 (14:18 -0400)]
qa/suites/upgrade/jewel-x/point-to-point: no xenial
Avoid conflict with upstream repo having a newer version
than what we're installing.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Apr 2017 18:17:19 +0000 (14:17 -0400)]
upgrade/jewel-x/stress-split: not pg import/export tests during upgrade
These aren't meant to be run on a mixed-version cluster.
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 20 Apr 2017 17:42:03 +0000 (13:42 -0400)]
Merge pull request #11796 from linuxbox2/wip-bucket-size-ck
rgw: add bucket size limit check to radosgw-admin
Sage Weil [Thu, 20 Apr 2017 16:55:00 +0000 (11:55 -0500)]
Merge pull request #14690 from ceph/luminous
build/ops: add 12.0.1 release tag in master
Sage Weil [Sun, 9 Apr 2017 18:30:02 +0000 (14:30 -0400)]
qa/suites/upgrade/jewel-x: add mgr.x role
Signed-off-by: Sage Weil <sage@redhat.com>
Piotr Dałek [Tue, 18 Apr 2017 14:12:04 +0000 (16:12 +0200)]
ReplicatedPG: use new fiemap interface
Reduce memory allocator load during sparse reads and recovery by not
encoding sparse file extents from map into bufferlist, then back again
into map.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Matt Benjamin [Sat, 5 Nov 2016 17:13:47 +0000 (13:13 -0400)]
rgw: add bucket size limit check to radosgw-admin
The change adds a new list of all buckets x all users, with
fields for bucket name, tenant name, current num_objects,
current num_shards, current objects per shard, and the
corresponding fill_status--the latter consisting of 'OK',
'WARN <n>%', or 'OVER <n>%.'
The warning check is relative to two new tunables. The threshold
max objects per shard is set as rgw_bucket_safe_max_objects_per_shard,
which defaults to 100K. The value rgw_bucket_warning_threshold is
a percent of the current safe max at which to warn (defaults to
90% of full).
From review:
* fix indentation (rgw_admin)
* if user a user_id is provided, check only buckets for that user
* update shard warn pct to be pct-of-fill (not 100 - pct-of-fill)
* print only buckets near or over per-shard limit, if --warnings-only
* s/bucket limitcheck/bucket limit check */
* sanity shard limit should be 90, not 10 (because that changed)
* fixes for memleaks and other points found by cbodley
Fixes: http://tracker.ceph.com/issues/17925
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Piotr Dałek [Tue, 18 Apr 2017 13:03:11 +0000 (15:03 +0200)]
ObjectStore, *Store: extend fiemap interface
This extends fiemap interface in objectstore and all data stores so
it's possible to pass in the map used later by caller, instead of
encoding internal map into bufferlist, then parsing it back into the
same type of data container, wasting memory and CPU time in the process.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Piotr Dałek [Tue, 18 Apr 2017 11:46:11 +0000 (13:46 +0200)]
common/interval_set.h: add move_into() and new ctor
move_into() will be used to move data from internal (private)
std::map into other, external std::map, without exposing internal one
to public. New ctor improves moving data from external map to internal
one.
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
John Spray [Thu, 20 Apr 2017 14:55:43 +0000 (15:55 +0100)]
Merge pull request #14447 from ukernel/wip-19450
mds: drop partial entry and adjust write_pos when opening PurgeQueue
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 15 Apr 2017 16:55:51 +0000 (12:55 -0400)]
qa: s/REQUIRE_MGRS/MGRS_REQUIRED/ for consistency
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 15:01:33 +0000 (11:01 -0400)]
qa: additions to mgr.test_failover
Reproducers for recent fixes:
http://tracker.ceph.com/issues/19407
http://tracker.ceph.com/issues/19258
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 15:00:48 +0000 (11:00 -0400)]
qa: fix vstart_runner --create for mgr tests
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 17:34:29 +0000 (13:34 -0400)]
mgr: fix waiting for module shutdown() before destroying
Fixes: http://tracker.ceph.com/issues/19412
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 29 Mar 2017 17:31:49 +0000 (13:31 -0400)]
mgr: fix MgrPyModule destruction
Fixes: http://tracker.ceph.com/issues/19412
Signed-off-by: John Spray <john.spray@redhat.com>
Mykola Golub [Wed, 15 Mar 2017 09:47:00 +0000 (10:47 +0100)]
rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC
Fixes: http://tracker.ceph.com/issues/18787
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Thu, 20 Apr 2017 09:51:55 +0000 (11:51 +0200)]
test/librados_test_stub: mock wrapper for aio_notify
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Thu, 6 Apr 2017 06:49:51 +0000 (08:49 +0200)]
rbd-mirror: possible lockdep false positive
(when InstanceWatcher::remove_instance is called)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Sun, 2 Apr 2017 15:19:14 +0000 (17:19 +0200)]
librbd: race between notify context completion and Notifier destroy
The assert "m_pending_aio_notifies == 0" could fail in the destructor.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Sun, 19 Mar 2017 11:58:29 +0000 (12:58 +0100)]
qa/workunits/rbd: don't use deprecated syntax
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Fri, 14 Apr 2017 07:03:20 +0000 (09:03 +0200)]
rbd-mirror: remove recently added public peer image types
They were supposed to be used to pass a list of peer images.
It has turned out unnecessary.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Nathan Cutler [Thu, 20 Apr 2017 12:12:24 +0000 (14:12 +0200)]
Merge pull request #14638 from dillaman/wip-19692
test: rbd master/slave notify test should test active features
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
John Spray [Thu, 20 Apr 2017 08:40:37 +0000 (09:40 +0100)]
Merge pull request #14197 from jcsp/wip-19395-counter
mds: use same inode count in health check as in trim
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Thu, 20 Apr 2017 06:45:29 +0000 (14:45 +0800)]
Merge pull request #14649 from hikycool/master
doc: update packages mentioned by build-doc and related doc
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Thu, 20 Apr 2017 06:29:10 +0000 (14:29 +0800)]
Merge pull request #14650 from optimistyzy/420_1
NVMEDevice: remove unnessary dpdk header file
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Mon, 17 Apr 2017 07:00:24 +0000 (15:00 +0800)]
qa/suites: Revert "qa/suites: add mon-reweight-min-pgs-per-osd = 4"
This reverts commit
ef7583d7178061b47c737d9138dae81685be720e .
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 17 Apr 2017 04:36:31 +0000 (12:36 +0800)]
qa/tasks/ceph_manager: be able to store options with service type
so we are able to change options for services other than mon while
thrashing.
Signed-off-by: Kefu Chai <kchai@redhat.com>
optimistyzy [Thu, 20 Apr 2017 05:48:00 +0000 (13:48 +0800)]
NVMEDevice: remove unnessary dpdk header file
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
Yu Shengzuo [Thu, 20 Apr 2017 05:14:29 +0000 (05:14 +0000)]
doc: correct the package name in ceph/admin/build-doc
In document, it is called 'libxml2-devel', one of the dependent
package of CentOS/RHEL7. But the 'build-doc' check 'libxml-devel'.
And it id also called 'libxml2-devel' in software of yum repo .
So correct the checked package name in ceph/admin/build-doc.
Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
Yu Shengzuo [Thu, 20 Apr 2017 03:39:29 +0000 (03:39 +0000)]
doc: update dependent packages links and remove a 'important' tip
Some links in document has been deprecated, such as:
http://rpmfind.net/linux/centos/7.0.1406/, So update it;
The 'fc21, fc24, fc26(newest)' rpm 'ditaa' can be used in
CentOS/RHEL7 to build doc. So remove the '...important' tip.
Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
Kefu Chai [Thu, 20 Apr 2017 02:49:12 +0000 (10:49 +0800)]
Merge pull request #14608 from tchaikov/wip-19594
qa/tasks: assert on pg status with a timeout
Reviewed-by: Sage Weil <sage@redhat.com>
Zhiqiang Wang [Fri, 20 Jan 2017 09:03:00 +0000 (17:03 +0800)]
osd: support dumping historic slow ops
ceph daemon osd.x dump_historic_slow_ops
Signed-off-by: Zhiqiang Wang <zhiqiang@xsky.com>
Zhiqiang Wang [Fri, 20 Jan 2017 08:26:12 +0000 (16:26 +0800)]
common: support tracking slow op
Add slow op in op tracker history.
Signed-off-by: Zhiqiang Wang <zhiqiang@xsky.com>
Kefu Chai [Wed, 19 Apr 2017 13:41:48 +0000 (21:41 +0800)]
mon/OSDMonitor: use inc.modified as the ctime for MOSDPGCreate
so the last_scrub_time of the newly created pg is consistent
Fixes: http://tracker.ceph.com/issues/19594
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 19 Apr 2017 08:38:06 +0000 (16:38 +0800)]
qa/tasks: update tests with helper to wait for pg-stats
and remove unused helpers
Fixes: http://tracker.ceph.com/issues/19594
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 19 Apr 2017 08:13:18 +0000 (16:13 +0800)]
qa/tasks/ceph_manager: add a "wait_for_pg_stats()" decorator
and accompany it with two helpers to access the pg stats in a more
natural way
Signed-off-by: Kefu Chai <kchai@redhat.com>
Greg Farnum [Fri, 7 Apr 2017 21:33:20 +0000 (14:33 -0700)]
osd: pglog: with config, don't assert in the presence of stale divergent_priors
Fixes: http://tracker.ceph.com/issues/17916
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Thu, 20 Apr 2017 00:56:28 +0000 (17:56 -0700)]
Merge pull request #14496 from jdurgin/wip-ec-overwrites-cleanup
osd: make ec overwrites ready to use
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Wed, 19 Apr 2017 23:46:09 +0000 (16:46 -0700)]
qa: use bluestore for (k)rbd ec overwrites tests
Only bluestore supports ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 19 Apr 2017 05:54:04 +0000 (22:54 -0700)]
qa: use bluestore for cephfs cephtool tests
This lets the tests enable ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Fri, 14 Apr 2017 00:31:02 +0000 (17:31 -0700)]
qa: use 4k stripe_width again for test_rados_tool.sh
The stripe_unit change altered the default stripe_width to depend on k.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 13 Apr 2017 19:04:10 +0000 (12:04 -0700)]
qa: move ec overwrites tests to a bluestore-only subsuite
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 13 Apr 2017 02:39:22 +0000 (19:39 -0700)]
doc: update ec docs for overwrite support
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 13 Apr 2017 00:59:57 +0000 (17:59 -0700)]
PendingReleaseNotes: note about ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 6 Apr 2017 18:40:41 +0000 (11:40 -0700)]
osd,OSDMonitor: try to protect against ec overwrites with filestore
This isn't perfect, but it's better than nothing. Prevent enabling the
allow_ec_overwrites flag if any of a sample of pgs in the pool map to
osds using filestore. This mainly protects filestore-only clusters
from enabling it.
If a filestore osd is started later, warn in the cluster log when it
gets a pg with ec overwrites enabled.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 16 Feb 2017 08:30:00 +0000 (00:30 -0800)]
test/osd/osd-scrub-repair.sh: add ec overwrites test cases
Move pool and profile creation into a single function, and
add a 'allow_overwrites' parameter for it so each ec test
can be paramterized by it.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 15 Feb 2017 01:03:19 +0000 (17:03 -0800)]
qa/tasks/rados: test sparse reads with ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Tue, 14 Feb 2017 08:04:12 +0000 (00:04 -0800)]
osd, OSDMonitor, qa: mark ec overwrites non-experimental
Keep the pool flag around so we can distinguish between a pool that
should maintain hashes for each chunk, and a missing one is a bug, vs
an overwrites pool where we rely on bluestore checksums for detecting
corruption.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Tue, 14 Feb 2017 01:42:33 +0000 (17:42 -0800)]
OSDMonitor: get stripe_width via stripe_unit in ec profile
With bluestore, making the smallest write match min_alloc_size avoids
write amplification. With EC pools this is the stripe unit, or
stripe_width / num_data_chunks. Rather than requiring people to divide
by k to get the smallest ec write, allow it to be specified directly
via stripe_unit. Store it in the ec profile so changing a monitor
config option isn't necessary to set it.
This is particularly important for ec overwrites since they allow random i/o
which should match bluestore's checksum granularity (aka min_alloc_size).
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 19 Apr 2017 22:08:35 +0000 (17:08 -0500)]
Merge pull request #14256 from dillaman/wip-19297
osd: new op for calculating an extent checksum
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Apr 2017 22:08:11 +0000 (17:08 -0500)]
Merge pull request #14414 from Adirl/is_ready
msg/async: Postpone bind if network stack is not ready
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Wed, 19 Apr 2017 22:07:19 +0000 (17:07 -0500)]
Merge pull request #14486 from dachary/wip-multiweight
crush: weight_set and id remapping
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Apr 2017 22:07:01 +0000 (17:07 -0500)]
Merge pull request #14556 from liewegas/wip-pgupmap
osd: pg-remap -> pg-upmap
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Wed, 19 Apr 2017 21:04:53 +0000 (17:04 -0400)]
mon/MgrMonitor: only propose if we updated
Otherwise we generate a new map on every beacon, even
though there is no change.
Signed-off-by: Sage Weil <sage@redhat.com>