]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Nawracay [Mon, 17 Jun 2019 09:36:53 +0000 (11:36 +0200)]
mgr/dashboard: Ensure E2E tests can be run independently
Introduces the PageHelper.
- Reads class attributes from Helpers to reduce boilerplace code for
navigation.
- The PageHelper is supposed to be the new class for code that's reused
across all Helpers for page related code.
- The Helper class is by now meant to be used for non-page specific
helper code, like used in the `checkConsole` method.
- The Helper class will act as central registry to enable all other
tests to use helper functions of all derived PageHelper tests.
Example:
`Helper.pools.create('foobar', ...);`
Fixes: http://tracker.ceph.com/issues/40397
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Patrick Nawracay [Mon, 17 Jun 2019 11:01:33 +0000 (13:01 +0200)]
mgr/dashboard: Cleanup HACKING.rst
Rephrase explanations on how to write E2E tests with Protractor.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Kefu Chai [Tue, 14 May 2019 01:15:28 +0000 (09:15 +0800)]
Merge pull request #28085 from rzarzynski/wip-crimson-no-atomics-in-refcntobj
crimson, common: RefCountedObj doesn't use atomics in Seastar builds.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Mon, 13 May 2019 16:15:51 +0000 (12:15 -0400)]
Merge pull request #27999 from trociny/wip-rbd-sparse_copyup
librbd: clone copy-on-write operations should preserve sparseness
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Mon, 13 May 2019 16:00:00 +0000 (00:00 +0800)]
Merge pull request #28071 from tchaikov/wip-crimson-perf-regres
crimson,osd: performance fixes
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 13 May 2019 15:57:12 +0000 (17:57 +0200)]
crimson, common: RefCountedObj doesn't use atomics in SeaStar builds.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Casey Bodley [Mon, 13 May 2019 14:02:21 +0000 (10:02 -0400)]
Merge pull request #27270 from theanalyst/beast-fe-ipv6
rgw: normalize v6 endpoint behaviour for the beast frontend
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Mon, 13 May 2019 13:10:20 +0000 (15:10 +0200)]
Merge pull request #26281 from smithfarm/wip-git-describe-long
make-dist: set version number only once
Reviewed-by: Tim Serong <tserong@suse.com>
Casey Bodley [Mon, 13 May 2019 13:09:17 +0000 (09:09 -0400)]
Merge pull request #28045 from cbodley/wip-39635
cls/user: cls_user_set_buckets_info overwrites creation_time
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Mon, 13 May 2019 13:07:04 +0000 (09:07 -0400)]
Merge pull request #27980 from cbodley/wip-24991
rgw: delete_obj_index() takes mtime for bilog
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Casey Bodley [Mon, 13 May 2019 13:05:29 +0000 (09:05 -0400)]
Merge pull request #28031 from ivancich/wip-rgw-admin-unordered
rgw: allow radosgw-admin to list bucket w --allow-unordered
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Mon, 13 May 2019 12:53:58 +0000 (08:53 -0400)]
Merge pull request #27676 from mkogan1/wip-rgw-39380
rgw: fix default_placement containing "/" when storage_class is standard
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 13 May 2019 12:51:47 +0000 (08:51 -0400)]
Merge pull request #27984 from cbodley/wip-test-rgw-multisite-sh
test/rgw: fix test-rgw-multisite.sh script for creating multisite clusters
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Kefu Chai [Mon, 13 May 2019 12:42:24 +0000 (20:42 +0800)]
Merge pull request #27807 from cyb70289/utf8-encode
common: optimize encode_utf8
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Mon, 13 May 2019 12:25:09 +0000 (15:25 +0300)]
Merge pull request #28051 from dillaman/wip-39521
librbd: fix issues with object-map/fast-diff feature interlock
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Mon, 13 May 2019 12:24:39 +0000 (15:24 +0300)]
Merge pull request #28063 from dillaman/wip-39656
qa/workunits/rbd: use https protocol for devstack git operations
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Sun, 12 May 2019 14:28:57 +0000 (22:28 +0800)]
cmake: define BOOST_SP_DISABLE_THREADS for crimson
because we are single-threaded
Signed-off-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Sat, 11 May 2019 01:41:52 +0000 (21:41 -0400)]
osd/osd_internal_types: bring moving semantics to ObjectState.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Fri, 10 May 2019 17:51:41 +0000 (13:51 -0400)]
crimson/osd: simplify write handling in PG::do_osd_ops.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Mykola Golub [Tue, 7 May 2019 05:41:27 +0000 (06:41 +0100)]
librbd: clone copy-on-write operations should preserve sparseness
Signed-off-by: Mykola Golub <mgolub@suse.com>
J. Eric Ivancich [Sat, 11 May 2019 13:10:54 +0000 (09:10 -0400)]
Merge pull request #27870 from theanalyst/rgw-objexp-fixes-cli
rgw: object expirer fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Sat, 11 May 2019 01:37:39 +0000 (09:37 +0800)]
Merge pull request #27926 from tchaikov/wip-38627
pybind/mgr: convert str to int using "int()"
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
David Zafman [Sat, 11 May 2019 00:41:31 +0000 (17:41 -0700)]
Merge pull request #27914 from dzafman/wip-39304
osd: Include dups in copy_after() and copy_up_to()
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
David Zafman [Fri, 10 May 2019 22:46:16 +0000 (15:46 -0700)]
Merge pull request #27961 from dzafman/wip-39582
osd: Output Base64 encoding of CRC header if binary data present
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Zafman [Thu, 9 May 2019 17:38:36 +0000 (10:38 -0700)]
osd: Fix merge_log_dups() not remove dup corresponding to log.tail
The log tail is not inclusive of the log, so not an overlap
Fix unittest_pglog to verify proper operation
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 7 May 2019 04:19:59 +0000 (21:19 -0700)]
test: unittest_pglog: Additional test cases for trim, copy_up_to and copy_after
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 7 May 2019 02:57:55 +0000 (19:57 -0700)]
test: unittest_pglog: Remove irrelevant config values
osd_min_pg_log_entries and osd_max_pg_log_entries are not involved
in the log handling code being tested.
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 3 May 2019 20:33:39 +0000 (13:33 -0700)]
test: Adding standalone test of log copy handling
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 10 May 2019 21:29:35 +0000 (16:29 -0500)]
Merge PR #27782 into master
* refs/pull/27782/head:
os/bluestore: protect BlueFS::FileReader::buf
os/bluestore: log 'buffered' in KernelDevice::read_random
os/bluestore: support RocksDB prefetching at BlueFS
os/bluestore: call BlueFS::_init_logger earlier.
tools/ceph-objectstore-tool: dump perf counters on competion.
os/bluestore: optimize mapping offset to extent in BlueFS.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 10 May 2019 21:22:40 +0000 (16:22 -0500)]
Merge PR #27928 into master
* refs/pull/27928/head:
mon/OSDMonitor: require nautilus to set pg_autoscale_mode
mon/OSDMonitor: allow pg_num to increase when require_osd_release < N
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 10 May 2019 21:21:58 +0000 (16:21 -0500)]
Merge PR #27877 into master
* refs/pull/27877/head:
mon: paxos: introduce new reset_pending_committing_finishers for safety
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Fri, 10 May 2019 18:48:23 +0000 (11:48 -0700)]
Merge pull request #21722 from mslovy/wip-parial-recovery
osd: partial recovery strategy based on PGLog
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Alfredo Deza [Fri, 10 May 2019 18:37:35 +0000 (14:37 -0400)]
Merge pull request #28060 from ceph/wip-bz1666822
ceph-volume: use the Device.rotational property instead of sys_api
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Fri, 10 May 2019 16:04:35 +0000 (11:04 -0500)]
ceph-volume: skip missing interpreters when running tox tests
This will skip tests for versions of python that don't exist on the node
that's running the tests.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 10 May 2019 14:02:08 +0000 (09:02 -0500)]
ceph-volume: use the Device.rotational property instead of sys_api
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=
1666822
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Jason Dillaman [Thu, 9 May 2019 19:48:30 +0000 (15:48 -0400)]
qa/workunits/rbd: use https protocol for devstack git operations
Fixes: http://tracker.ceph.com/issues/39656
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 7 May 2019 16:05:30 +0000 (11:05 -0500)]
mon/OSDMonitor: require nautilus to set pg_autoscale_mode
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 May 2019 16:18:17 +0000 (11:18 -0500)]
mon/OSDMonitor: allow pg_num to increase when require_osd_release < N
Setting pg_num_target has no effect when we encode our OSDMap with mimic
or luminous features. Fall back to the pre-nautilus behavior of directly
setting pg_num.
Fixes: http://tracker.ceph.com/issues/39570
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 10 May 2019 13:05:32 +0000 (09:05 -0400)]
Merge pull request #27795 from cbodley/wip-rgw-beast-async-body
rgw: beast frontend uses yield_context to read/write body
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Lenz Grimmer [Fri, 10 May 2019 10:41:09 +0000 (12:41 +0200)]
mgr/dashboard: Added Object Gateway menu tab tests (#27565)
mgr/dashboard: Added Object Gateway menu tab tests
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Nathan Cutler [Fri, 10 May 2019 09:27:30 +0000 (11:27 +0200)]
Merge pull request #28042 from smithfarm/wip-doc-ceph-backport-sh
doc: improve ceph-backport.sh comment block
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Nathan Cutler [Thu, 9 May 2019 11:59:35 +0000 (13:59 +0200)]
doc: improve ceph-backport.sh comment block
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Samuel Just [Fri, 10 May 2019 03:34:06 +0000 (20:34 -0700)]
Merge pull request #28048 from athanatos/sjust/wip-peering-state-cleanup
More PeeringState and related cleanups to ease use in crimson
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 10 May 2019 01:42:16 +0000 (20:42 -0500)]
Merge PR #27811 into master
* refs/pull/27811/head:
commom: make cluster_network work.
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Thu, 2 May 2019 02:47:55 +0000 (19:47 -0700)]
osd: Include dups in copy_after() and copy_up_to()
Client saw out of order results in a test with a very small
pg_log because a backfill/recovery sent a small number of
log entries for duplicate checks.
Since these copy operations are equivalent to both a copy
and trim (an argument controls how many log entries
transfer), we need to include any new dups with enough
existing dups up to the configured maximum.
Fixes: http://tracker.ceph.com/issues/39304
Signed-off-by: David Zafman <dzafman@redhat.com>
Xie Xingguo [Fri, 10 May 2019 00:39:15 +0000 (08:39 +0800)]
Merge pull request #28050 from dillaman/wip-39448
msg/async: reduce verbosity of connection timeout failures
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
sjust@redhat.com [Mon, 6 May 2019 22:43:15 +0000 (15:43 -0700)]
osd/: Move PG::_prepare_write_info into osd_types prepare_info_keymap
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 3 May 2019 20:44:27 +0000 (13:44 -0700)]
osd/: convert boost::optional users to std::optional
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 3 May 2019 19:14:09 +0000 (12:14 -0700)]
PeeringState: switch remaining boost::optional users
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 3 May 2019 18:48:06 +0000 (11:48 -0700)]
src/osd: Clean up PeeringCtx ownership semantics and pointer/ref usage
PeeringCtx was a bit of a mess in terms of tracking down where the
resources were cleaned up. This patch:
- Reworks PeeringCtx to directly own its maps/transaction
- Introduces PeeringCtxWrapper to deal with the message buffering
internally
- Cleans up users to avoid passing pointers through the PeeringState
interface unnecessarily.
This'll allow the PeeringCtx destructor to do its job vastly
simplifying usage in crimson.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 29 Apr 2019 17:11:01 +0000 (10:11 -0700)]
os: break Transaction of of Objectstore, use in crimson
Transaction is needed in crimson, but not ObjectStore.
Signed-off-by: Samuel Just <rexludorum@gmail.com>
Samuel Just [Mon, 29 Apr 2019 17:09:39 +0000 (10:09 -0700)]
src/osd: refactor to use ostream_temp
The concept of emitting log lines to a central mon log is likely
to be useful for both crimson and classic, but the mechanism is
likely to be different. Break out OstreamTemp for use in interface.
Signed-off-by: Samuel Just <rexludorum@gmail.com>
Samuel Just [Tue, 16 Apr 2019 22:42:53 +0000 (15:42 -0700)]
PeeringState: use HBHandle
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 16 Apr 2019 22:37:35 +0000 (15:37 -0700)]
osd/PeeringState: include MOSDPGLog.h
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 16 Apr 2019 22:37:10 +0000 (15:37 -0700)]
osd/: create interface for TPHandle, remove WorkQueue include from MissingLoc
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 16 Apr 2019 22:36:39 +0000 (15:36 -0700)]
osd/: move perf counter constants and constructors
PeeringState requires the same counters in crimson, but we
need to avoid OSD.h include in PeeringState.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 9 May 2019 03:39:14 +0000 (20:39 -0700)]
PeeringState::ActivateCommitted: intialize epoch
Fixes: https://tracker.ceph.com/issues/39636
Signed-off-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Thu, 9 May 2019 23:14:47 +0000 (07:14 +0800)]
Merge pull request #28053 from liu-chunmei/ceph_seastar_bugfix
crimson/osd: fix the build broken by
df771861
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 May 2019 23:07:56 +0000 (07:07 +0800)]
Merge pull request #28041 from tchaikov/wip-crimson-v1-auth
crimson/mon: fix the v1 auth
Reviewed-by: Samuel Just <sjust@redhat.com>
chunmei Liu [Thu, 9 May 2019 22:22:42 +0000 (15:22 -0700)]
crimson/osd: can't ‘operator<’ ‘ceph_release_t’ and ‘int’
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
Jason Dillaman [Thu, 9 May 2019 19:37:26 +0000 (15:37 -0400)]
librbd: fix issues with object-map/fast-diff feature interlock
Enabling/disabling one should enable/disable the other.
Fixes: http://tracker.ceph.com/issues/39521
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Thu, 9 May 2019 19:32:55 +0000 (12:32 -0700)]
Merge PR #27717 into master
* refs/pull/27717/head:
mds: output lock state in format dump
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Thu, 9 May 2019 18:59:16 +0000 (14:59 -0400)]
Merge pull request #28009 from ricardoasmarques/rbd-feature-migrating
Add 'RBD_FEATURE_MIGRATING' to rbd.pyx
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Abhishek Lekshmanan [Fri, 29 Mar 2019 17:13:52 +0000 (18:13 +0100)]
doc: rgw: document v6 endpoint options
document that v6 endpoints only binds to ipv6
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Fri, 29 Mar 2019 16:37:44 +0000 (17:37 +0100)]
rgw: beast: bind both v4 and v6 ports when using a port argument
This commit adds binding to both v4 and v6 port when specifying a port argument,
endpoint *only* binds to v4 or v6 depending on the address specified. Failure to
bind when the protocol is not supported is not treated as an error and we warn
and continue then.
Fixes: http://tracker.ceph.com/issues/39038
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Mon, 6 May 2019 09:58:20 +0000 (11:58 +0200)]
doc: add a note on reshard object expirer fixes in PendingReleaseNotes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Abhishek Lekshmanan [Thu, 2 May 2019 13:25:22 +0000 (15:25 +0200)]
doc: add a troubleshooting note on resharding expirer fixes
Added a note about the commands added to support stale expired object deletion
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Jason Dillaman [Thu, 9 May 2019 18:50:12 +0000 (14:50 -0400)]
msg/async: reduce verbosity of connection timeout failures
Long running clients connected to thrashing OSDs could result in a
"see no progress in more than <timeout>" message printed to stderr.
This is not an error but can result in test failures when console
output is compared against expected output.
Fixes: http://tracker.ceph.com/issues/39448
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Abhishek L [Thu, 9 May 2019 17:55:17 +0000 (19:55 +0200)]
Merge pull request #27680 from theanalyst/aws-rest-fixes
rgw: rest client fixes for cloud sync XML outputs
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Wed, 8 May 2019 18:04:54 +0000 (19:04 +0100)]
librados_test_stub: update get_min_compatible_osd to octopus
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 7 May 2019 05:40:28 +0000 (06:40 +0100)]
cls/rbd: provide async version of copyup method
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 7 May 2019 05:39:25 +0000 (06:39 +0100)]
librbd: allow to provide sparse read result
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 7 May 2019 05:37:52 +0000 (06:37 +0100)]
osdc/striper: make possible to assemble sparse read result
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Tue, 7 May 2019 05:34:47 +0000 (06:34 +0100)]
librados_test_stub: pass snap context to "create" method
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Wed, 1 May 2019 10:25:20 +0000 (11:25 +0100)]
cls/rbd: add sparse_copyup method
Signed-off-by: Mykola Golub <mgolub@suse.com>
Igor Fedotov [Thu, 9 May 2019 16:23:30 +0000 (19:23 +0300)]
os/bluestore: protect BlueFS::FileReader::buf
Now this buffer might be accessed from BlueRocksRandomAccessFile
which is intended for multi-threading access. Hence we need a
proper protection for the buffer.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
letterwuyu [Tue, 7 May 2019 10:27:54 +0000 (18:27 +0800)]
osd: make max_num_intervals of ObjectCleanRegions a configuration option
Signed-off-by: lishuhao <lishuhao@unitedstack.com>
Lenz Grimmer [Thu, 9 May 2019 14:28:06 +0000 (16:28 +0200)]
mgr/dashboard: Remove messages.xlf (#28020)
mgr/dashboard: Remove messages.xlf
Reviewed-by: Tiago Melo <tmelo@suse.com>
Casey Bodley [Thu, 9 May 2019 14:07:52 +0000 (10:07 -0400)]
test/rgw: add multisite test_bucket_creation_time()
does not create any buckets itself, but checks that all creation times
match on buckets created by other tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Wed, 8 May 2019 18:47:04 +0000 (14:47 -0400)]
rgw: allow radosgw-admin to list bucket w --allow-unordered
Presently the `radosgw-admin bucket list --bucket=<bucket>` lists the
objects in lexical order. This can be an expensive operation since
objects are not stored in bucket index shards in order and a selection
sort process is done across all bucket index shards.
By allowing the user to add the "--allow-unordered" command-line flag,
a more efficient bucket listing is enabled. This is particularly
important for buckets with a large number of objects.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Thu, 9 May 2019 13:20:17 +0000 (21:20 +0800)]
Merge pull request #27976 from mykaul/patch-2
doc: Update link to Red Hat documentation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 May 2019 10:46:50 +0000 (18:46 +0800)]
crimson/mon: run tick() periodically
also send keepalive to monitor in tick()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Igor Fedotov [Wed, 31 Oct 2018 15:01:00 +0000 (18:01 +0300)]
os/bluestore: log 'buffered' in KernelDevice::read_random
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Thu, 25 Apr 2019 11:39:14 +0000 (14:39 +0300)]
os/bluestore: support RocksDB prefetching at BlueFS
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Thu, 25 Apr 2019 11:20:03 +0000 (14:20 +0300)]
os/bluestore: call BlueFS::_init_logger earlier.
So one can use perf counters during log replay.
Signed-off-by: Igor Fedotov <ifedotov@susu.com>
Igor Fedotov [Fri, 1 Mar 2019 15:00:57 +0000 (18:00 +0300)]
tools/ceph-objectstore-tool: dump perf counters on competion.
Performed if debug mode is enabled
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Thu, 25 Oct 2018 18:24:14 +0000 (21:24 +0300)]
os/bluestore: optimize mapping offset to extent in BlueFS.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Sebastian Krah [Wed, 8 May 2019 10:03:50 +0000 (12:03 +0200)]
mgr/dashboard: Remove messages.xlf
Removes the messages.xlf file from the git repository, due to a lot of merge conflicts.
It won't cause any problems, because the file is not important for building or the translation during runtime.
Fixes: https://tracker.ceph.com/issues/38003
Signed-off-by: Sebastian Krah <skrah@suse.com>
Kefu Chai [Thu, 9 May 2019 09:51:33 +0000 (17:51 +0800)]
crimson/mon: fix the v1 auth
* initialize mon::Connection::global_id to `0` in the ctor.
global_id is assigned by monitor, a zero global_id implies
that "allocate me a new global_id please". so we should
never use a random number on stack for the global_id.
* do not use a magic number for initializing MAuth::protocol,
use `CEPH_AUTH_UNKNOWN` instead.
* do not try to dereference `auth` before creating it. `auth`
is created by `create_auth()`. in which, the global_id
is always assigned to `auth->global_id`, as it's a new session.
so we should just call `create_auth()`.
* restructure the code to finish the authentication. to remove
the find_if(), and use the `parallel_for_each()` loop for
both set the active_con and closing the other pending connections.
* ask for the rotating keyring once gets authenticated.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Zhi Zhang [Thu, 9 May 2019 09:07:24 +0000 (17:07 +0800)]
mds: output lock state in format dump
dump cache in plain text will print lock state. But in json format dump,
it won't. It is not convenient to debug some MDS lock issues without
such information.
Fixes: http://tracker.ceph.com/issues/39645
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
Sebastian Wagner [Thu, 9 May 2019 08:41:53 +0000 (10:41 +0200)]
Merge pull request #26654 from sebastian-philipp/orchestrator-progress
mgr/orchestrator: add progress events to all orchestrators
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Yaniv Kaul [Mon, 6 May 2019 13:26:30 +0000 (16:26 +0300)]
doc: Update link to Red Hat documentation
The previous link was to version 2, which is a bit older. Fix to version 3.
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Kefu Chai [Thu, 9 May 2019 07:16:31 +0000 (15:16 +0800)]
Merge pull request #27855 from tchaikov/wip-ceph-release
src/: define ceph_release_t and use it
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 9 May 2019 07:13:02 +0000 (15:13 +0800)]
Merge pull request #27689 from Jeegn-Chen/wip-39390-fix
os/filestore: assure sufficient leaves in pre-split
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 9 May 2019 07:11:15 +0000 (15:11 +0800)]
Merge pull request #27925 from tchaikov/wip-38628
mgr/restful: do not use filter() for list
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Kefu Chai [Thu, 9 May 2019 07:07:48 +0000 (15:07 +0800)]
Merge pull request #27962 from xiexingguo/wip-jira-3756
mgr/DaemonServer: safe-to-destroy - do not consider irrelevant pgs
Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Thu, 9 May 2019 05:27:37 +0000 (22:27 -0700)]
Merge pull request #28036 from neha-ojha/wip-fix-ar-doc
doc/dev/osd_internals/async_recovery: update cost calculation
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 9 May 2019 05:07:37 +0000 (22:07 -0700)]
Merge pull request #28034 from letterwuyu/forward_incompat_pg_missing
ceph-object-corpus: forward_incompat pg_missing_item and pg_missing_t
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
lishuhao [Thu, 9 May 2019 02:04:11 +0000 (10:04 +0800)]
ceph-object-corpus: forward_incompat pg_missing_item and pg_missing_t
Signed-off-by: lishuhao <lishuhao@unitedstack.com>
Neha Ojha [Thu, 9 May 2019 03:19:32 +0000 (20:19 -0700)]
doc/dev/osd_internals/async_recovery: update cost calculation
Signed-off-by: Neha Ojha <nojha@redhat.com>