]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ricardo Dias [Sun, 8 Apr 2018 17:37:30 +0000 (18:37 +0100)]
mgr/dashboard: restcontroller: fix detection of id args in element requests
Fixes: https://tracker.ceph.com/issues/23593
Signed-off-by: Ricardo Dias <rdias@suse.com>
Nathan Cutler [Sun, 8 Apr 2018 06:54:27 +0000 (08:54 +0200)]
Merge pull request #17531 from smithfarm/wip-calamari-tests
tests: cleanup: drop calamari tasks
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Xie Xingguo [Sun, 8 Apr 2018 05:37:00 +0000 (13:37 +0800)]
Merge pull request #21245 from ifed01/wip-ifed-shard-bug-logging
os/bluestore: be more verbose when hitting unloaded shard in extent map
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sat, 7 Apr 2018 09:31:04 +0000 (17:31 +0800)]
Merge pull request #20866 from jan--f/mgr-fix-metadata-return
mon/MonCommands: mgr metadata - improve parameter naming consistency
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:29:57 +0000 (17:29 +0800)]
Merge pull request #21217 from tchaikov/wip-cmp-hobject
common/hobject: preserve the order of hobject
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:29:15 +0000 (17:29 +0800)]
Merge pull request #21211 from tchaikov/wip-clang-without-map-merge
cmake,mds: detect std::map::merge() before using it.
Reviewed-by: Zheng Yan <zyan@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:27:15 +0000 (17:27 +0800)]
Merge pull request #21161 from cbodley/wip-mon-config-obs
config: notify config observers on set_mon_vals()
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:25:48 +0000 (17:25 +0800)]
Merge pull request #21151 from xiexingguo/wip-prune-olr
osd/PGBackend: drop input "snapid_t" from objects_list_range()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:24:56 +0000 (17:24 +0800)]
Merge pull request #21150 from xiexingguo/wip-large-omap-obj-counting
osd/PGBackend: fix large_omap_objects checking
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:23:35 +0000 (17:23 +0800)]
Merge pull request #21119 from Liuchang0812/refine-optracker-history
common, osd: duplicated "start" event in OpTracker, improve OpTracker::dump_ops
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:22:01 +0000 (17:22 +0800)]
Merge pull request #21095 from wido/ceph-metadata-version
common: Add metadata with only Ceph version number and release
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 09:21:06 +0000 (17:21 +0800)]
Merge pull request #21055 from tchaikov/wip-pr-20994
filestore,rgw: fix types/casts making clang on 32-Bit working
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Willem Jan Withagen [Sun, 1 Apr 2018 12:34:48 +0000 (14:34 +0200)]
mds: Clang does not (yet) support std::map::merge
@tchaikov found:
libc++ still does not support "Splicing Maps and Sets",
see https://libcxx.llvm.org/cxx1z_status.html ,
search for "p0083r3" .
Make this case the more explicit coded.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Tue, 3 Apr 2018 12:00:14 +0000 (20:00 +0800)]
cmake: detect if std::map::merge() is supported
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 7 Apr 2018 03:59:28 +0000 (11:59 +0800)]
Merge pull request #21274 from dzafman/wip-cot-config
tools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:31:19 +0000 (21:31 -0500)]
Merge PR #20760 into wip-sage-testing-
20180407 .023110
* refs/pull/20760/head:
mon/ConfigMonitor: add 'config reset' command
mon/ConfigMonitor: add 'config log' command
mon/ConfigMap: add ConfigChangeSet
mon/ConfigMonitor: avoid no-op updates
mon/ConfigMonitor: maintain history of all config changes
Sage Weil [Sat, 7 Apr 2018 02:30:18 +0000 (21:30 -0500)]
Merge PR #20516 into wip-sage-testing-
20180407 .023003
* refs/pull/20516/head:
os/filestore: advertise vdo in filestore metadata
os/filestore: implement thin provisioning utilization stats for VDO
os/bluestore/KernelDevice: advertise vdo and physical_size in metadata
os/bluestore/KernelDevice: implement thin utilization stats for VDO
os/bluestore: hook to expose utilization of thinly-provisioned device
common/blkdev: identify VDO devices beneath LVM
common/blkdev: implement VDO helper functions
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:29:32 +0000 (21:29 -0500)]
Merge PR #20512 into wip-sage-testing-
20180407 .022843
* refs/pull/20512/head:
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:28:58 +0000 (21:28 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 7 Apr 2018 02:27:20 +0000 (21:27 -0500)]
Merge PR #21033 into wip-sage-testing-
20180407 .022623
* refs/pull/21033/head:
buffer: kill push_front
tools/RadosDump: avoid bufferlist::push_front
os/filestore/FileJournal: avoid push_front
erasure-code: avoid bufferlist::push_front
buffer: kill claim_prepend
unittest_compression: avoid claim_prepend
os/bluestore: avoid claim_prepend
osdc/Striper: rewrite assemble_result without push_front or claim_prepend
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Sage Weil [Sat, 7 Apr 2018 02:27:19 +0000 (21:27 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Fri, 6 Apr 2018 20:19:03 +0000 (22:19 +0200)]
Merge pull request #19594 from smithfarm/wip-doc-make-check
doc: expand developer documentation of unit tests
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
David Zafman [Fri, 6 Apr 2018 18:52:10 +0000 (11:52 -0700)]
tools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang
Signed-off-by: David Zafman <dzafman@redhat.com>
Gregory Farnum [Fri, 6 Apr 2018 18:48:11 +0000 (11:48 -0700)]
Merge pull request #19973 from liewegas/wip-peering-fast-dispatch
osd: fast dispatch of peering events and pg_map + osd sharded wq refactor
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Wed, 21 Feb 2018 16:10:56 +0000 (10:10 -0600)]
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
The _max isn't used. Drop the _min suffix.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 6 Apr 2018 15:59:23 +0000 (10:59 -0500)]
Merge pull request #21250 from liewegas/wip-recovery-slow-ops
qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS
Sage Weil [Fri, 6 Apr 2018 15:38:45 +0000 (10:38 -0500)]
qa/suites/rados/singleton/all/ec-lost-unfound: whitelist SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Fri, 6 Apr 2018 14:36:34 +0000 (16:36 +0200)]
Merge pull request #21239 from rjfd/wip-dashboard-routes
mgr/dashboard: using RoutesDispatcher as HTTP request dispatcher
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Joao Eduardo Luis [Fri, 6 Apr 2018 14:22:28 +0000 (15:22 +0100)]
Merge pull request #19331 from jecluis/wip-mon-osdmap-prune
mon: osdmap prune
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Fri, 6 Apr 2018 13:52:55 +0000 (09:52 -0400)]
Merge pull request #20464 from cbodley/wip-rgw-beast-ssl
rgw: add ssl support to beast frontend
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Nathan Cutler [Fri, 6 Apr 2018 12:18:37 +0000 (14:18 +0200)]
doc: dev: improve headings within Testing chapter
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Lenz Grimmer [Fri, 6 Apr 2018 09:07:01 +0000 (11:07 +0200)]
Merge pull request #21128 from ricardoasmarques/wip-usage-bar
mgr/dashboard: Add usage bar component
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Fri, 6 Apr 2018 08:50:45 +0000 (10:50 +0200)]
Merge pull request #21240 from rjfd/wip-dashboard-task-fixes
mgr/dashboard: TaskManager bug fixes
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Joao Eduardo Luis [Wed, 21 Feb 2018 12:37:56 +0000 (12:37 +0000)]
qa: enable mon osdmap pruning on 'rados/' suites
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 20 Feb 2018 15:47:57 +0000 (15:47 +0000)]
qa: enable mon osdmap pruning on rados/monthrash
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 24 Nov 2017 22:46:55 +0000 (22:46 +0000)]
qa: mon: osdmap pruning standalone/workunit
Keep a standalone wrapper for the workunit, so we can test it locally,
leveraging the ceph-helpers to do the setup. Keep a workunit to be
exercised by teuthology.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 20 Feb 2018 15:42:39 +0000 (15:42 +0000)]
qa/standalone: change PATH to allow finding sysctl
If, by default, a user's PATH does not contain /sbin and /usr/sbin, we
may have a hard time finding sysctl to adjust the kernel core pattern.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 14 Feb 2018 20:57:57 +0000 (20:57 +0000)]
qa/standalone: deduplicate cleanup code
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 14 Feb 2018 12:20:59 +0000 (12:20 +0000)]
qa/standalone: discard pipe in sysctl kernel.core_pattern
At least verified in openSUSE tumbleweed and ubuntu 16.04,
`sysctl -n kernel.core_pattern` returns a pipe at the start of the
value. We reset core_pattern to its original form once the script is
about to end, but if we do not discard the pipe the new value will
contain an extra pipe (apparently, the pipe is added automatically at
some point, possibly simply on read). We are simply stripping it on
read, as to prevent this behavior.
Additionally, we are also enclosing the reset of kernel.core_pattern in
quotes, so as to make sure patterns that include spaces (e.g., ubuntu's
apport, or tumbleweed's systemd-coredump) are properly reset.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 24 Nov 2017 22:46:04 +0000 (22:46 +0000)]
mon/OSDMonitor: allow triggering prunes from tick()
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Mon, 4 Dec 2017 23:38:31 +0000 (23:38 +0000)]
mon/OSDMonitor: allow blocking trim if option is enabled
We need to allow blocking osdmap trimming to test osdmap pruning.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Thu, 23 Nov 2017 17:18:39 +0000 (17:18 +0000)]
mon/OSDMonitor: dump osdmap manifest alongside other infos
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 10 Oct 2017 19:17:11 +0000 (20:17 +0100)]
mon/OSDMonitor: prune full maps on encode_pending
If we have gone over a safety threshold for number of versions, start
pruning full osdmaps, poking holes in the sequence. To make up for the
missing maps, we will rebuild full maps based on the incremental maps
and the closest pinned full map we have available.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Thu, 23 Nov 2017 17:09:31 +0000 (17:09 +0000)]
doc: add dev notes for mon's full osdmap pruning
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Fri, 6 Apr 2018 02:47:48 +0000 (21:47 -0500)]
osd: legacy pg_create creates pg in current epoch
For the legacy create path, we pregenerate the history and instantiate
the PG at the current epoch.
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Fri, 6 Apr 2018 02:00:46 +0000 (04:00 +0200)]
Merge pull request #21127 from smithfarm/wip-make-dist-py3
build/ops: make-dist: fall back to python3
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Patrick Donnelly [Fri, 6 Apr 2018 00:03:18 +0000 (17:03 -0700)]
Merge PR #21238 into master
* refs/pull/21238/head:
doc: fix typos and other minor errors in cephfs-nfs doc
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 6 Apr 2018 00:02:20 +0000 (17:02 -0700)]
Merge PR #21204 into master
* refs/pull/21204/head:
mds: PendingReleaseNotes and dev doc for open file table
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Thu, 5 Apr 2018 21:37:05 +0000 (17:37 -0400)]
rgw: beast frontend calls shutdown before closing connections
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 16 Mar 2018 20:33:09 +0000 (16:33 -0400)]
qa/rgw: verify suite tests beast with ssl
instead of adding special frontend configs like civetweb_ssl.yaml and
beast_ssl.yaml, added a new proto/ subdirectory for http.yaml and
https.yaml
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 6 Feb 2018 22:06:11 +0000 (17:06 -0500)]
rgw: add ssl support to beast frontend
adds frontend options ssl_certificate, ssl_private_key, ssl_port, ssl_endpoint
Fixes: http://tracker.ceph.com/issues/22832
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 23 Jan 2018 03:24:23 +0000 (22:24 -0500)]
rgw: factor the tcp::socket out of ClientIO
remove ClientIO's dependency on a concrete socket type by moving it into
a derived StreamIO class in rgw_asio_frontend.cc
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Thu, 5 Apr 2018 18:57:41 +0000 (14:57 -0400)]
Merge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr
dmclock: update mClockPriorityQueue with changes in subtree
Sage Weil [Thu, 5 Apr 2018 18:07:53 +0000 (13:07 -0500)]
mon/OSDMonitor: fix warnings
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 5 Apr 2018 18:04:09 +0000 (13:04 -0500)]
mon/OSDMonitor: keep sending legacy create messages for now
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 5 Apr 2018 17:55:18 +0000 (12:55 -0500)]
Merge pull request #21261 from batrick/ceph-update-ceph-object-corpus
ceph-object-corpus: update to fix make check
Patrick Donnelly [Thu, 5 Apr 2018 17:50:32 +0000 (10:50 -0700)]
ceph-object-corpus: update to fix make check
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Nathan Cutler [Thu, 5 Apr 2018 13:14:13 +0000 (15:14 +0200)]
Merge pull request #21148 from wjwithagen/wjw-setup-virtualenv
tools: FreeBSD basic getopt does not use --options
Reviewed-by: Nathan Cutler <ncutler@suse.com>
John Spray [Thu, 5 Apr 2018 11:00:40 +0000 (12:00 +0100)]
Merge pull request #21237 from guzhongyan/zabbix-fix
mgr/zabbix: Fix wrong log message
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Thu, 5 Apr 2018 07:04:02 +0000 (15:04 +0800)]
Merge pull request #21253 from ceph/wip-yuriw-crontab
tests/qa - enabled `ceph-deploy` runs on `mira` nodes
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Patrick Donnelly [Thu, 5 Apr 2018 04:13:35 +0000 (21:13 -0700)]
Merge PR #21254 into master
* refs/pull/21254/head:
mds: bump mds_log_max_segments for trim buffer
Reviewed-by: Zheng Yan <zyan@redhat.com>
Josh Durgin [Thu, 5 Apr 2018 00:50:07 +0000 (17:50 -0700)]
Merge pull request #21252 from neha-ojha/wip-modify-crontab
qa/crontab: run the perf-basic suite every day
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Patrick Donnelly [Wed, 4 Apr 2018 23:47:06 +0000 (16:47 -0700)]
mds: bump mds_log_max_segments for trim buffer
Under create heavy workloads, the MDS will sometimes get behind trimming but
catch up. This avoids unnecessary warnings.
Fixes: http://tracker.ceph.com/issues/23560
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Wed, 4 Apr 2018 23:18:41 +0000 (16:18 -0700)]
tests/qa - enabled `ceph-deploy` runs on `mira` nodes
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Ricardo Marques [Mon, 2 Apr 2018 11:11:23 +0000 (12:11 +0100)]
mgr/dashboard: Apply usage-bar component on health
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Ricardo Marques [Mon, 2 Apr 2018 11:10:50 +0000 (12:10 +0100)]
mgr/dashboard: Apply usage-bar component on osd
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Ricardo Marques [Mon, 2 Apr 2018 11:09:25 +0000 (12:09 +0100)]
mgr/dashboard: Apply usage-bar component on cephfs
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Ricardo Marques [Thu, 29 Mar 2018 14:58:53 +0000 (15:58 +0100)]
mgr/dashboard: Add usage bar component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Neha Ojha [Wed, 4 Apr 2018 21:33:11 +0000 (14:33 -0700)]
qa/crontab: run the perf-basic suite every day
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Wed, 4 Apr 2018 21:23:48 +0000 (16:23 -0500)]
qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS
Recovery and peering can be slow enough with all the logging enabled to
trigger a slow ops warning.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 4 Apr 2018 21:20:06 +0000 (16:20 -0500)]
TEST Revert "mon/OSDMonitor: disallow pg_num changes until after pool is created"
This reverts commit
38319f8300ebf4a48b6910790467bad96d29941e .
I want to reproduce the race to see if there is a better way to avoid it.
This breaks tests that set pg_num, and generally makes interacting with
the cluster awkward for anything non-human.
# Conflicts:
# src/mon/CreatingPGs.h
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Wed, 4 Apr 2018 21:06:46 +0000 (14:06 -0700)]
Merge pull request #21101 from dzafman/wip-23267
scrub errors not cleared on replicas can cause inconsistent pg state when replica takes over primary
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Nathan Cutler [Thu, 29 Mar 2018 15:23:40 +0000 (17:23 +0200)]
build/ops: make-dist: fall back to python3
If python2.7 is not available, we might be building in a Python 3-only
environment.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Ricardo Dias [Wed, 4 Apr 2018 16:25:16 +0000 (17:25 +0100)]
mgr/dashboard: move all controller infrastructure to controllers/__init__.py
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 3 Apr 2018 16:02:09 +0000 (17:02 +0100)]
mgr/dashboard: using RoutesDispatcher as HTTP request dispatcher
Signed-off-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Wed, 4 Apr 2018 15:30:45 +0000 (10:30 -0500)]
osd: clarify FIXME comments
These are generally things to fix aspirationally someday or things that
we'll need to clean up as part of the move to seastar.
Signed-off-by: Sage Weil <sage@redhat.com>
vasukulkarni [Wed, 4 Apr 2018 15:28:57 +0000 (08:28 -0700)]
Merge pull request #21146 from zmc/wip-cephmetrics
qa/suites/cephmetrics: Updates for new version
Sage Weil [Wed, 4 Apr 2018 13:35:15 +0000 (08:35 -0500)]
osd: reimplement get_mapped_pools
Output as a proper array this time.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 4 Apr 2018 15:18:21 +0000 (10:18 -0500)]
Merge pull request #21244 from ifed01/wip-ifed-min-blob-descr
os/bluestore: update description for bluestore_compression_[min|max|_blob_size options
Reviewed-by: Sage Weil <sage@redhat.com>
Igor Fedotov [Wed, 4 Apr 2018 14:29:31 +0000 (17:29 +0300)]
os/bluestore: be more verbose when hitting unloaded shard in extent map
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Wed, 4 Apr 2018 14:01:51 +0000 (17:01 +0300)]
os/bluestore: update description for
bluestore_compression_[min|max|_blob_size options
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Sage Weil [Wed, 4 Apr 2018 02:07:23 +0000 (21:07 -0500)]
osd: avoid OSDShardPGSlot allocation in fast path
If the entry already exists, we don't want to construct the PGSlot
and then throw it out.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 Apr 2018 01:57:32 +0000 (20:57 -0500)]
osd: check for rctx contexts instead of adding nop() to transaction
This is cheaper and more explicit.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 3 Apr 2018 01:57:04 +0000 (20:57 -0500)]
os/ObjectStore: add has_contexts()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 20:44:57 +0000 (15:44 -0500)]
osd: clean up osdmap_lock
Comment rules and take lock during init/shutdown (nice but not necessary).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 20:33:36 +0000 (15:33 -0500)]
PendingReleaseNotes: not pg_num adjustments during pool create
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 19:39:41 +0000 (14:39 -0500)]
PendingReleaseNotes: mons before osds to avoid force-recovery issue
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:24:16 +0000 (09:24 -0500)]
osd: drop obsolete Pred
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:24:03 +0000 (09:24 -0500)]
osd: OSDShard: sdata_op_ordering_lock -> shard_lock
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:19:51 +0000 (09:19 -0500)]
osd: OSDShard: sdata_lock -> sdata_wait_lock
This is only used for waiting.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:18:26 +0000 (09:18 -0500)]
osd: rename OSDPGShard::osdmap -> shard_osdmap
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:12:43 +0000 (09:12 -0500)]
osd: move sdata_op_ordering_lock declaration
So that comment makes sense
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:12:25 +0000 (09:12 -0500)]
osd: reduce debug level for pg epoch min
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 14:08:51 +0000 (09:08 -0500)]
osd: accessors for num_pgs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 13:56:38 +0000 (08:56 -0500)]
osd: fix old wake_pg_waiters references
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 13:50:07 +0000 (08:50 -0500)]
osd: fix 'stale' message
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 13:45:29 +0000 (08:45 -0500)]
osd: constify arg for handle_pg_create_info, maybe_wait_for_max_pg
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 13:44:19 +0000 (08:44 -0500)]
osd: constify arg to prime_splits
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 13:43:55 +0000 (08:43 -0500)]
osd: constify arg to identify_splits
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Apr 2018 13:33:37 +0000 (08:33 -0500)]
osd: drop unused pushes_to_free variable on _process
Signed-off-by: Sage Weil <sage@redhat.com>