]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Fri, 16 Mar 2018 16:35:30 +0000 (00:35 +0800)]
Merge pull request #20914 from ibmibmibm/patch-1
os/memstore: Fix wrong use of lock_guard
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Mar 2018 16:34:29 +0000 (00:34 +0800)]
Merge pull request #20930 from badone/wip-Log-delete_type_mismatch
log: Fix AddressSanitizer: new-delete-type-mismatch
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Fri, 16 Mar 2018 13:19:32 +0000 (09:19 -0400)]
Merge pull request #20928 from dillaman/wip-dashboard-iscsi
mgr/dashboard: fix 500 error on block device iSCSI status page
Reviewed-by: Ricardo Dias <rdias@suse.com>
Casey Bodley [Fri, 16 Mar 2018 13:04:10 +0000 (09:04 -0400)]
Merge pull request #20863 from rjfd/wip-qa-fix-ssl-conflict
qa/rgw: renamed ssl task to openssl_keys
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Thu, 15 Mar 2018 21:41:20 +0000 (17:41 -0400)]
mgr/dashboard: fix 500 error on block device iSCSI status page
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ricardo Dias [Fri, 16 Mar 2018 09:38:52 +0000 (09:38 +0000)]
Merge pull request #20925 from rjfd/wip-dashboard-fix-qa
qa/suites/rados/mgr/tasks/dashboard_v2: add fail_on_skip = false
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ricardo Dias [Thu, 15 Mar 2018 16:38:14 +0000 (16:38 +0000)]
qa/suites/rados/mgr/tasks/dashboard: add fail_on_skip = false
This commit prevents dashboard API tests to be tagged as failed when
some test is decorated with @skip.
Signed-off-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 16 Mar 2018 08:36:51 +0000 (16:36 +0800)]
Merge pull request #20912 from rjfd/wip-dashboard-rename
mgr/dashboard: replace dashboard with dashboard_v2
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ricardo Dias [Thu, 15 Mar 2018 08:50:22 +0000 (08:50 +0000)]
mgr/dashboard: renamed dashboard_v2 to dashboard
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Thu, 15 Mar 2018 08:21:17 +0000 (08:21 +0000)]
mgr/dashboard: remove dashboard module
Signed-off-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 16 Mar 2018 03:23:02 +0000 (11:23 +0800)]
Merge pull request #20916 from tspmelo/fix-mgr-perf-counter
mgr/dashboard_v2: fix test_perf_counters_mgr_get
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 16 Mar 2018 03:20:48 +0000 (11:20 +0800)]
Merge pull request #20892 from guzhongyan/fix-mgrc
mgr: fix MSG_MGR_MAP handling
Reviewed-by: John Spray <john.spray@redhat.com>
Josh Durgin [Thu, 15 Mar 2018 22:39:34 +0000 (15:39 -0700)]
Merge pull request #19811 from neha-ojha/wip-async-recovery
osd: async recovery
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 15 Mar 2018 21:07:09 +0000 (16:07 -0500)]
Merge pull request #20922 from idryomov/wip-osdmap-encoding-fix
osd/OSDMap: fix HAVE_FEATURE logic in encode()
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Mar 2018 21:02:30 +0000 (16:02 -0500)]
Merge remote-tracking branch 'gh/mimic-dev2'
# Conflicts:
# qa/standalone/osd/repro_long_log.sh
Sage Weil [Thu, 15 Mar 2018 20:59:58 +0000 (15:59 -0500)]
Merge pull request #20917 from liewegas/wip-no-query-debug
osd: debug dispatch_context cases where queries not sent
Reviewed-by: Josh Durgin <jduring@redhat.com>
Sage Weil [Thu, 15 Mar 2018 20:59:42 +0000 (15:59 -0500)]
Merge pull request #20918 from liewegas/wip-less-many
qa/suites/rados: fewer msgr failures
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 15 Mar 2018 20:59:22 +0000 (15:59 -0500)]
Merge pull request #20919 from liewegas/wip-cot
qa/standalone/osd/repro_long_log: no-mon-config for cot
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Thu, 15 Mar 2018 19:59:28 +0000 (12:59 -0700)]
PG: dout cleanup
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 15 Mar 2018 00:42:28 +0000 (17:42 -0700)]
PG: add async recovery and backfill to pg dout() prefix
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 15 Mar 2018 00:32:47 +0000 (17:32 -0700)]
PG: use clear_location() to clear out missing_loc
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Sun, 11 Mar 2018 05:27:23 +0000 (21:27 -0800)]
PG: use get_recovery_read to prevent race during recovery deletes
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 8 Mar 2018 16:07:57 +0000 (08:07 -0800)]
PG: handle async targets with missing clone in _rollback_to()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 1 Mar 2018 20:01:18 +0000 (12:01 -0800)]
ECBackend: send correct stats to async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 27 Feb 2018 18:37:56 +0000 (10:37 -0800)]
qa: modify TEST_recovery_sizeup() to handle async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 22 Feb 2018 22:09:45 +0000 (14:09 -0800)]
PG: want set size should not be below min_size
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 21 Feb 2018 16:40:48 +0000 (08:40 -0800)]
PG: clear missing_loc only during async_recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 21 Feb 2018 04:57:20 +0000 (20:57 -0800)]
PG: add location to missing_loc only during async_recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 16 Feb 2018 20:19:53 +0000 (12:19 -0800)]
PG: clear out old missing_loc in issue_repop
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 7 Feb 2018 01:42:54 +0000 (17:42 -0800)]
PG: handle degraded object in _rollback_to()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 31 Jan 2018 02:45:58 +0000 (18:45 -0800)]
ECBackend: update pg_log missing for async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 31 Jan 2018 02:02:20 +0000 (18:02 -0800)]
PG: skip primary in peer_missing in rebuild()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 15 Mar 2018 16:34:18 +0000 (11:34 -0500)]
Merge PR #20880 into wip-sage-testing-
20180315 .163409
* refs/pull/20880/head:
"Correct" license from LGPL2 to LGPL2.1
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Andrew Schoen [Thu, 15 Mar 2018 15:14:36 +0000 (16:14 +0100)]
Merge pull request #20910 from ceph/fix_callback_plugins_dir
ceph-volume: fix action plugins path in tests
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:09:29 +0000 (23:09 +0800)]
Merge pull request #20897 from ifed01/wip-ifed-discard-on-mkfs
os/bluestore: do SSD discard on mkfs
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:08:24 +0000 (23:08 +0800)]
Merge pull request #20895 from tchaikov/wip-drop-unused-options
common/options: drop unused options
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:07:35 +0000 (23:07 +0800)]
Merge pull request #20445 from aclamk/wip-assert-smaller
common: Make code to invoke assert() smaller.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 15:07:02 +0000 (23:07 +0800)]
Merge pull request #20887 from liewegas/wip-kill-backlog
osd/osd_types: remove backlog type for pg_log_entry_t
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Ilya Dryomov [Thu, 15 Mar 2018 14:26:21 +0000 (15:26 +0100)]
osd/OSDMap: fix HAVE_FEATURE logic in encode()
Currently clients that don't have SERVER_LUMINOUS end up being fed
v6 (i.e. luminous) encoding because they also don't have SERVER_MIMIC.
This was introduced in commit
553048fbf97a ("osd/OSDMap: track newly
removed and purged snaps in each epoch").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Thu, 15 Mar 2018 13:42:14 +0000 (08:42 -0500)]
qa/standalone/osd/repro_long_log: no-mon-config for cot
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Mar 2018 13:39:28 +0000 (08:39 -0500)]
qa/suites/rados: fewer msgr failures
500 is a bit much... e.g., enough to hit timeouts forming mon quorum.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Mar 2018 13:32:14 +0000 (08:32 -0500)]
osd: debug dispatch_context cases where queries not sent
Signed-off-by: Sage Weil <sage@redhat.com>
Tiago Melo [Thu, 15 Mar 2018 12:44:52 +0000 (12:44 +0000)]
mgr/dashboard_v2: fix test_perf_counters_mgr_get
Now that we can obtain perf counters for the mgr, we need to assert that we get
more than 0 counters and that they have the desired structure.
Fixes: https://tracker.ceph.com/issues/23378
Signed-off-by: Tiago Melo <tmelo@suse.com>
Shen-Ta Hsieh(BestSteve) [Thu, 15 Mar 2018 12:31:13 +0000 (20:31 +0800)]
memstore: fix wrong use of lock_guard
std::lock_guard need a name to make RAII works properly
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Guillaume Abrioux [Thu, 15 Mar 2018 08:45:28 +0000 (09:45 +0100)]
ceph-volume: fix action plugins path in tox
because of this commit [1] in ceph-ansible tests in ceph-volume needs to
be modified accordingly.
[1] https://github.com/ceph/ceph-ansible/commit/
60d4b75f519c03fca91384f231b071793f582376
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:28:46 +0000 (14:28 +0800)]
Merge pull request #20836 from xiexingguo/wip-balancer-05
pybind/mgr/balancer: add sanity check against empty adjusted_map
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:27:36 +0000 (14:27 +0800)]
Merge pull request #20857 from zealoussnow/wip-leozhang
osd/bluestore: delete unused variable in KernelDevice
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Thu, 15 Mar 2018 06:26:28 +0000 (14:26 +0800)]
Merge pull request #20690 from myoungwon/wip-manifest-num-counter
osd: add num_object_manifest
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:24:22 +0000 (14:24 +0800)]
Merge pull request #20652 from shangfufei/wip-common
src/common: update some ms_* options to be more consistent
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Thu, 15 Mar 2018 06:22:52 +0000 (14:22 +0800)]
Merge pull request #20886 from liewegas/wip-kill-min-max
include: kill MIN and MAX macros
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Thu, 15 Mar 2018 06:18:45 +0000 (14:18 +0800)]
Merge pull request #20321 from jcsp/wip-22918
mgr: initialize PyModuleRegistry sooner
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Wed, 14 Mar 2018 03:55:03 +0000 (13:55 +1000)]
log: Fix AddressSanitizer: new-delete-type-mismatch
If you directly call the operator new function, you must also directly
call the operator delete function, and must manually call the
destructor as well.
Fixes: http://tracker.ceph.com/issues/23324
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Neha Ojha [Sat, 27 Jan 2018 01:32:34 +0000 (17:32 -0800)]
PG: bug fix in is_degraded_or_backfilling_object()
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 26 Jan 2018 18:36:21 +0000 (10:36 -0800)]
PG: update pg_log missing for async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Sun, 21 Jan 2018 20:50:51 +0000 (12:50 -0800)]
PG: reset async_recovery_targets after recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 19 Jan 2018 18:39:37 +0000 (10:39 -0800)]
PG: call choose_acting when there are async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 19 Jan 2018 17:49:00 +0000 (09:49 -0800)]
PG: mark recovery started when fail to get recovery_read_lock
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 18 Jan 2018 19:04:03 +0000 (11:04 -0800)]
PG: set delete flag in needs_recovery_map for deletes
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 16 Jan 2018 18:09:16 +0000 (10:09 -0800)]
PG: update missing_loc for async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 5 Jan 2018 20:32:23 +0000 (12:32 -0800)]
PG: do not block writes on async_recovery_targets
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 19 Dec 2017 21:18:25 +0000 (13:18 -0800)]
PG: modify should_send_op to handle async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Mon, 18 Dec 2017 21:25:09 +0000 (13:25 -0800)]
osd: rename ECSubWrite parameter backfill to backfill_or_async_recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 14 Dec 2017 18:40:37 +0000 (10:40 -0800)]
PG: cleanup and fixes for async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Wed, 29 Nov 2017 09:57:43 +0000 (15:27 +0530)]
osd: introduce acting_recovery_backfill shards
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Tue, 28 Nov 2017 03:53:31 +0000 (09:23 +0530)]
PG: initial changes required for async recovery
Signed-off-by: Neha Ojha <nojha@redhat.com>
Josh Durgin [Wed, 14 Mar 2018 22:27:39 +0000 (15:27 -0700)]
Merge pull request #20901 from neha-ojha/wip-fix-mgr
qa/tasks/ceph_manager: use set_config on revived osd
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Wed, 14 Mar 2018 19:37:56 +0000 (12:37 -0700)]
qa/tasks/ceph_manager: use set_config on revived osd
Signed-off-by: Neha Ojha <nojha@redhat.com>
Andrew Schoen [Wed, 14 Mar 2018 19:21:37 +0000 (20:21 +0100)]
Merge pull request #20824 from ceph/wip-rm23259
ceph-volume process the abspath of the executable first
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
David Zafman [Wed, 14 Mar 2018 18:07:44 +0000 (11:07 -0700)]
Merge pull request #20220 from dzafman/wip-calc-stats3
osd: Improve recovery stat handling by using peer_missing and missing_loc info
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Fri, 2 Feb 2018 07:47:32 +0000 (23:47 -0800)]
test: osd-backfill-stats.sh parallel osd-recovery-stats.sh check() changes
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 2 Feb 2018 07:42:57 +0000 (23:42 -0800)]
test: Use "(est)" in log message when an osd doesn't have peer_missing
Consolidate check() code and common script code
TEST_recovery_multi() wasn't reliable due to delayed peer_missing
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 26 Jan 2018 18:26:53 +0000 (10:26 -0800)]
test: osd-recovery-stats.sh: New test with different missing objs on multiple OSDs
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 2 Feb 2018 20:15:17 +0000 (12:15 -0800)]
osd: Fix _update_calc_stats() to use peer_missing and missing_by_count
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 14 Mar 2018 16:50:06 +0000 (09:50 -0700)]
osd: Changes to handle sharding for EC in missing_by_count
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Sun, 4 Mar 2018 21:55:22 +0000 (15:55 -0600)]
osd/PrimaryLogPG: update missing_loc on peer recover
The MissingLoc structure already tracks locations of any missing object
on any acting OSD, and is updated on_local_recover and on_global_recover.
Update it on_peer_recover too so that the loc information (and derivative
missing_by_count info) is correct.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 2 Mar 2018 03:30:07 +0000 (21:30 -0600)]
osd/PG: MissingLoc: track location counts by upset and other
For every object in missing_loc, calculate how many known locations are in
the upset and all others, and call that loc_count_t. Keep
a map of loc_count_t to the number of missing objects with that
distribution.
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Sat, 27 Jan 2018 01:13:36 +0000 (17:13 -0800)]
test: Correction for better degraded/misplaced handling
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 1 Feb 2018 02:31:15 +0000 (18:31 -0800)]
osd: Always build peer_missing (including strays) for _update_calc_stats()
Fixes: http://tracker.ceph.com/issues/22837
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 25 Jan 2018 22:10:24 +0000 (14:10 -0800)]
osd: Fix for handling more than 1 missing target
Fix test case to test more than 1 target
Signed-off-by: David Zafman <dzafman@redhat.com>
Lenz Grimmer [Wed, 14 Mar 2018 14:57:32 +0000 (15:57 +0100)]
Merge pull request #20751 from s0nea/wip-mgr-dashboard_rbd_add
mgr/dashboard_v2: Add RBD create functionality to the Python backend
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Igor Fedotov [Wed, 14 Mar 2018 12:42:34 +0000 (15:42 +0300)]
os/bluestore: trim SSD devices on mkfs
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Andrew Schoen [Wed, 14 Mar 2018 14:02:53 +0000 (15:02 +0100)]
Merge pull request #20878 from ceph/wip-rm23337
ceph-volume document multipath support
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Sage Weil [Wed, 14 Mar 2018 02:20:11 +0000 (21:20 -0500)]
osd/osd_types: remove backlog type for pg_log_entry_t
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Wed, 14 Mar 2018 11:31:44 +0000 (12:31 +0100)]
Merge pull request #20804 from Devp00l/cephfs-template-fix
mgr/dashboard_v2: Fix cephfs template table usage
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 14 Mar 2018 11:11:47 +0000 (12:11 +0100)]
Merge pull request #20783 from tspmelo/mgr-perf-counters
mgr/dashboard_v2: add mgr to the list of perf counters
Reviewed-by: Ricardo Dias <rdias@suse.com>
Lenz Grimmer [Wed, 14 Mar 2018 10:48:40 +0000 (11:48 +0100)]
Merge pull request #20728 from jcsp/wip-dashboard-can_run
mgr/dashboard v2: implement can_run method
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 14 Mar 2018 10:10:56 +0000 (18:10 +0800)]
common/options: drop unused options
async_compressor_* have never been used, so drop them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Tatjana Dehler [Tue, 27 Feb 2018 16:04:38 +0000 (17:04 +0100)]
mgr/dashboard: Add RBD create functionality
This commit adds a basic RBD create functionality to the REST API. It enables
the POST request of the http://<host>:<port>/api/rbd API endpoint.
The commit adds also related tests.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Gu Zhongyan [Wed, 14 Mar 2018 07:08:05 +0000 (15:08 +0800)]
mgr: fix MSG_MGR_MAP handling
ceph config show mgr.x doesn't work
root cause is mgr daemon's mgrc has no chance
to process MSG_MGR_MAP in the mgr daemon's
ms_dispatch.
fix is let this message pass through for mgrc
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
Signed-off-by: yupeng chen chenyupeng-it@360.cn
Patrick Donnelly [Wed, 14 Mar 2018 03:33:11 +0000 (20:33 -0700)]
Merge PR #20700 into master
* refs/pull/20700/head:
client: use either dentry_invalidate_cb or remount_cb to invalidate kernel dcache
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Wed, 14 Mar 2018 03:33:07 +0000 (20:33 -0700)]
Merge PR #20719 into master
* refs/pull/20719/head:
client: add new ceph_mount_perms_set function
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Wed, 14 Mar 2018 03:32:58 +0000 (20:32 -0700)]
Merge PR #20780 into master
* refs/pull/20780/head:
doc/cephfs: mention "ceph fs set-default"
mds: include legacy_client_fscid in FSMap::dump
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 14 Mar 2018 02:16:42 +0000 (21:16 -0500)]
include: kill MIN and MAX macros
Use std::min and std::max instead.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 14 Mar 2018 02:16:29 +0000 (21:16 -0500)]
osd/PrimaryLogPG: MIN -> std::min
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 13 Mar 2018 23:15:13 +0000 (16:15 -0700)]
Merge PR #20881 into master
* refs/pull/20881/head:
messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Tue, 13 Mar 2018 22:21:59 +0000 (17:21 -0500)]
Merge pull request #20832 from liewegas/wip-fix-do-copy-range-replay
os/filestore: fix do_copy_range replay bug
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 13 Mar 2018 21:07:50 +0000 (16:07 -0500)]
"Correct" license from LGPL2 to LGPL2.1
Back in commit
7469f26a33c072169d6ed929352eda06562ffe3f when the COPYING
file was added to the repository and the project was "licensed," the
license file was
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
However, the license was abbreviated as LGPL2 in various places (pretty
much everywhere, actually), due to my own ignorance/carelessness. (I was
distinguishing it from shiny new version 3, released 6 months earlier.)
Version 2 of LGPL is the "Library General Public License," published in
June 1991: https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html
Note that this ambiguity persists for most of the project's lifetime. For
example, the original debian/copyright in
8adc9dac1d61f34ce85e3cbad1478e3e6ffe2b8e
said "LGPL2" bug in
4545f8b929cc562a1231c0ceb067e9d8e58a0de7 (2009, a year
later) it is changed to LGPL2.1 to satisfy Debian's lintian checks. (It's
remained LGPL2.1 ever since.)
"Correct" the record by changing LGPL2 references to LGPL2.1.
Signed-off-by: Sage Weil <sage@redhat.com>
Greg Farnum [Tue, 13 Mar 2018 20:50:25 +0000 (13:50 -0700)]
messages/MClientRequest: fix a typo so we don't output 'setfilelockrule' in logs
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Alfredo Deza [Tue, 13 Mar 2018 19:30:22 +0000 (15:30 -0400)]
ceph-volume lvm.prepare simplify help menu with bluestore default flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 13 Mar 2018 19:28:28 +0000 (15:28 -0400)]
ceph-volume lvm.create simplify help menu with bluestore default flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>