]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agogithubmap: update contributors
Sage Weil [Tue, 6 Mar 2018 13:19:45 +0000 (07:19 -0600)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc: Drop the output of pg query 20688/head
Jos Collin [Fri, 2 Mar 2018 05:04:47 +0000 (10:34 +0530)]
doc: Drop the output of pg query

Drop the output of pg query from the doc, as it is:
   * Very old. The doc has only one-fourth of the latest 'pg query' output.
   * Updating the latest 'pg query' output in the doc would be huge.
   * too difficult to maintain it in the doc and make it sync with the changes of the actual 'pg query' output.

However, we can insert parts of the output in the doc if necessary.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agodoc: Update Monitoring OSDs and PGs
Jos Collin [Fri, 2 Mar 2018 05:01:54 +0000 (10:31 +0530)]
doc: Update Monitoring OSDs and PGs

Updated 'Monitoring OSDs and PGs' doc with:
* Latest command output
* misc doc fixes

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #20602 from gregsfortytwo/wip-23141-rotational
Kefu Chai [Wed, 28 Feb 2018 01:35:17 +0000 (09:35 +0800)]
Merge pull request #20602 from gregsfortytwo/wip-23141-rotational

os/bluestore: correctly check all block devices to decide if journal is_rotational

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #20595 from jcsp/wip-23037
Kefu Chai [Wed, 28 Feb 2018 01:33:33 +0000 (09:33 +0800)]
Merge pull request #20595 from jcsp/wip-23037

mgr: die on bind() failure

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20593 from tchaikov/wip-23121
Kefu Chai [Wed, 28 Feb 2018 01:31:07 +0000 (09:31 +0800)]
Merge pull request #20593 from tchaikov/wip-23121

ceph-objectstore-tool: don't destroy SnapMapper until the txn is completed

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20540 from ovh/bp-optracker-cleanup
Kefu Chai [Wed, 28 Feb 2018 01:29:10 +0000 (09:29 +0800)]
Merge pull request #20540 from ovh/bp-optracker-cleanup

common/OpHistory: move insert/cleanup into separate thread

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20539 from zeichenanonym/mgr-prometheus-fix-metadata-does-not...
Kefu Chai [Wed, 28 Feb 2018 01:27:53 +0000 (09:27 +0800)]
Merge pull request #20539 from zeichenanonym/mgr-prometheus-fix-metadata-does-not-exist

mgr: prometheus: Don't crash on OSDs without metadata

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20530 from wido/issue-23078
Kefu Chai [Wed, 28 Feb 2018 01:25:16 +0000 (09:25 +0800)]
Merge pull request #20530 from wido/issue-23078

common/dns_resolv.cc: Query for AAAA-record if ms_bind_ipv6 is True

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20394 from liewegas/wip-pg-log-size
Kefu Chai [Wed, 28 Feb 2018 01:24:08 +0000 (09:24 +0800)]
Merge pull request #20394 from liewegas/wip-pg-log-size

osd: min_pg_log_entries == max == pg_log_dups_tracked

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20290 from rzarzynski/wip-common-subsystemmap
Kefu Chai [Wed, 28 Feb 2018 01:23:01 +0000 (09:23 +0800)]
Merge pull request #20290 from rzarzynski/wip-common-subsystemmap

core: make the main dout() paths faster and more maintanable

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20273 from adamemerson/wip-any-singleton-will-do
Kefu Chai [Wed, 28 Feb 2018 01:21:41 +0000 (09:21 +0800)]
Merge pull request #20273 from adamemerson/wip-any-singleton-will-do

common: Switch singletons to use immobile_any and cleanups

Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20528 from tchaikov/wip-22462
Kefu Chai [Wed, 28 Feb 2018 01:18:36 +0000 (09:18 +0800)]
Merge pull request #20528 from tchaikov/wip-22462

mon: add MMonHealth back

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20415 from wumingqiao/wip-fallocate
Kefu Chai [Wed, 28 Feb 2018 01:17:36 +0000 (09:17 +0800)]
Merge pull request #20415 from wumingqiao/wip-fallocate

filestore: include <linux/falloc.h>

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20620 from ceph/wip-rm23140
Alfredo Deza [Tue, 27 Feb 2018 21:42:47 +0000 (16:42 -0500)]
Merge pull request #20620 from ceph/wip-rm23140

ceph-volume: adds raw device support to 'lvm list'

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20599 from dillaman/wip-librbd-devstack-tempest
Mykola Golub [Tue, 27 Feb 2018 18:43:36 +0000 (20:43 +0200)]
Merge pull request #20599 from dillaman/wip-librbd-devstack-tempest

qa/workunits/rbd: switch devstack tempest to 17.2.0 tag

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20612 from fangyuxiangGL/com
Casey Bodley [Tue, 27 Feb 2018 18:32:01 +0000 (13:32 -0500)]
Merge pull request #20612 from fangyuxiangGL/com

rgw: download object might fail for local invariable uninitialized

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19845 from fangyuxiangGL/escape
Yuri Weinstein [Tue, 27 Feb 2018 17:49:12 +0000 (09:49 -0800)]
Merge pull request #19845 from fangyuxiangGL/escape

rgw: rework json/xml escape usage follow #19806

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20352 from yehudasa/wip-22928
Yuri Weinstein [Tue, 27 Feb 2018 17:48:16 +0000 (09:48 -0800)]
Merge pull request #20352 from yehudasa/wip-22928

rgw: use explicit index pool placement

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #20440 from cbodley/wip-qa-rgw-beast
Yuri Weinstein [Tue, 27 Feb 2018 17:47:05 +0000 (09:47 -0800)]
Merge pull request #20440 from cbodley/wip-qa-rgw-beast

qa/rgw: remove some civetweb overrides for beast testing

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #20471 from mdw-at-linuxbox/wip-master-swacldel
Yuri Weinstein [Tue, 27 Feb 2018 17:46:30 +0000 (09:46 -0800)]
Merge pull request #20471 from mdw-at-linuxbox/wip-master-swacldel

rgw: Allow swift acls to be deleted.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agorgw: download object might fail for local invariable uninitialized 20612/head
fang yuxiang [Tue, 27 Feb 2018 17:05:22 +0000 (01:05 +0800)]
rgw: download object might fail for local invariable uninitialized

This is an omission in #20226

Fixes: http://tracker.ceph.com/issues/23146
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
7 years agoMerge pull request #20234 from smithfarm/wip-run-make-check
Nathan Cutler [Tue, 27 Feb 2018 16:33:14 +0000 (17:33 +0100)]
Merge pull request #20234 from smithfarm/wip-run-make-check

build/ops: run-make-check.sh: fix SUSE support

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-volume: if using lvm list on a device with many lvs, show them all 20620/head
Andrew Schoen [Tue, 27 Feb 2018 15:02:12 +0000 (09:02 -0600)]
ceph-volume: if using lvm list on a device with many lvs, show them all

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20436 from smithfarm/wip-22999
Nathan Cutler [Tue, 27 Feb 2018 15:19:36 +0000 (16:19 +0100)]
Merge pull request #20436 from smithfarm/wip-22999

install-deps.sh: set python2 %bcond by environment

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #20611 from Leeshine/wip-rgw-22080-1
Casey Bodley [Tue, 27 Feb 2018 14:23:09 +0000 (09:23 -0500)]
Merge pull request #20611 from Leeshine/wip-rgw-22080-1

rgw: create sync-module instance when radosgw-admin sync run

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20397 from tdb/fix/perms-ocf-rbd
Nathan Cutler [Tue, 27 Feb 2018 13:59:46 +0000 (14:59 +0100)]
Merge pull request #20397 from tdb/fix/perms-ocf-rbd

rbd: resource agent needs to be executable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20577 from Songweibin/wip-group-rename
Jason Dillaman [Tue, 27 Feb 2018 13:25:33 +0000 (08:25 -0500)]
Merge pull request #20577 from Songweibin/wip-group-rename

rbd: add group rename methods

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoinstall-deps.sh: set python2 %bcond by environment 20436/head
Nathan Cutler [Wed, 14 Feb 2018 11:51:09 +0000 (12:51 +0100)]
install-deps.sh: set python2 %bcond by environment

If there is no /usr/bin/python2 we need to set %bcond_with python2.

Fixes: http://tracker.ceph.com/issues/22999
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20434 from smithfarm/wip-22998
Nathan Cutler [Tue, 27 Feb 2018 13:09:33 +0000 (14:09 +0100)]
Merge pull request #20434 from smithfarm/wip-22998

build/ops: install-deps.sh: pass --no-recommends to zypper

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #20404 from smithfarm/wip-cmake-with-systemd
Nathan Cutler [Tue, 27 Feb 2018 13:03:30 +0000 (14:03 +0100)]
Merge pull request #20404 from smithfarm/wip-cmake-with-systemd

build/ops: change WITH_SYSTEMD default to ON

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agobuild/ops: run-make-check.sh: fix SUSE support 20234/head
Nathan Cutler [Thu, 1 Feb 2018 14:53:15 +0000 (15:53 +0100)]
build/ops: run-make-check.sh: fix SUSE support

Get /usr/bin/which from the right RPM.

Fixes: http://tracker.ceph.com/issues/22875
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20245 from smithfarm/wip-p2p-ripout
Nathan Cutler [Tue, 27 Feb 2018 12:53:17 +0000 (13:53 +0100)]
Merge pull request #20245 from smithfarm/wip-p2p-ripout

tests: cleanup: drop upgrade/jewel-x/point-to-point-x

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20138 from smithfarm/wip-recommend-chrony
Nathan Cutler [Tue, 27 Feb 2018 12:48:52 +0000 (13:48 +0100)]
Merge pull request #20138 from smithfarm/wip-recommend-chrony

build/ops: rpm: recommend chrony instead of ntp-daemon

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #20551 from shun-s/wip-add-notify-name-print
Jason Dillaman [Tue, 27 Feb 2018 12:47:05 +0000 (07:47 -0500)]
Merge pull request #20551 from shun-s/wip-add-notify-name-print

rbd: output notifyOp request name when watching

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agolog: prohibit negative values for debug_* configurables. 20290/head
Radoslaw Zarzynski [Tue, 13 Feb 2018 15:09:55 +0000 (16:09 +0100)]
log: prohibit negative values for debug_* configurables.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agolog: remove SubsystemMap::m_max_name_len.
Radoslaw Zarzynski [Tue, 13 Feb 2018 14:26:24 +0000 (15:26 +0100)]
log: remove SubsystemMap::m_max_name_len.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoceph: switch to SubsystemMap::should_gather<SubV, LvlV>().
Radoslaw Zarzynski [Mon, 12 Feb 2018 19:17:14 +0000 (20:17 +0100)]
ceph: switch to SubsystemMap::should_gather<SubV, LvlV>().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: resurrect the old check on dout's levels where possible.
Radoslaw Zarzynski [Mon, 12 Feb 2018 18:58:51 +0000 (19:58 +0100)]
core: resurrect the old check on dout's levels where possible.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: hint the dout()'s message crafting as a cold code.
Radoslaw Zarzynski [Fri, 9 Feb 2018 15:19:10 +0000 (16:19 +0100)]
core: hint the dout()'s message crafting as a cold code.

The idea is to:
  1. Do not put the dout()'s crafting stuff on the hot, fall-through
     path. Cheapest branches are those that are forward and never taken.
  2. Move it to separated sections placed far away from the main path
     to be more friendly to ICache and ITLB. That is, dout_impl constructs
     a function now.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: make SubsystemMap more statical and optimize should_gather().
Radoslaw Zarzynski [Sat, 3 Feb 2018 18:13:13 +0000 (19:13 +0100)]
core: make SubsystemMap more statical and optimize should_gather().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoosd: remove the PGLog::prefix_provider as it's always nullptr.
Radoslaw Zarzynski [Sat, 3 Feb 2018 16:12:48 +0000 (17:12 +0100)]
osd: remove the PGLog::prefix_provider as it's always nullptr.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocommon: move subsys-dependant types to a dedicated header.
Radoslaw Zarzynski [Sat, 3 Feb 2018 16:08:54 +0000 (17:08 +0100)]
common: move subsys-dependant types to a dedicated header.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: dout checks ceph_subsys_* in compile time if possible.
Radoslaw Zarzynski [Sat, 3 Feb 2018 03:37:55 +0000 (04:37 +0100)]
core: dout checks ceph_subsys_* in compile time if possible.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge PR #19471 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:45 +0000 (02:22 -0800)]
Merge PR #19471 into master

* refs/pull/19471/head:
cephfs-journal-tool: support purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20412 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:38 +0000 (02:22 -0800)]
Merge PR #20412 into master

* refs/pull/20412/head:
mds/CDir: cleanup in the lookup_exact_snap()
mds/cdir: add CDir missing state

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20468 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:31 +0000 (02:22 -0800)]
Merge PR #20468 into master

* refs/pull/20468/head:
mds: fix check of underwater dentries

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20489 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:25 +0000 (02:22 -0800)]
Merge PR #20489 into master

* refs/pull/20489/head:
common: omit short option for id in help for clients

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge PR #20547 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:19 +0000 (02:22 -0800)]
Merge PR #20547 into master

* refs/pull/20547/head:
mds: add uptime to MDS status

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agoMerge PR #20553 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:08 +0000 (02:22 -0800)]
Merge PR #20553 into master

* refs/pull/20553/head:
mds: always handle SESSION_REQUEST_RENEWCAPS messages
mds: don't cleanup request that has pending remote authpin/wrlock/xlock

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: create sync-module instance when radosgw-admin sync run 20611/head
lvshanchun [Tue, 27 Feb 2018 08:14:08 +0000 (16:14 +0800)]
rgw: create sync-module instance when radosgw-admin sync run

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agoMerge pull request #20532 from Songweibin/wip-du-user
Jason Dillaman [Tue, 27 Feb 2018 04:21:21 +0000 (23:21 -0500)]
Merge pull request #20532 from Songweibin/wip-du-user

rbd: filter out UserSnapshotNamespace in do_disk_usage

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20529 from Songweibin/wip-fix-nbd-map
Jason Dillaman [Tue, 27 Feb 2018 04:20:59 +0000 (23:20 -0500)]
Merge pull request #20529 from Songweibin/wip-fix-nbd-map

 rbd: set a default value for options in `nbd map`

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20507 from trociny/wip-remote-rename
Jason Dillaman [Tue, 27 Feb 2018 04:20:24 +0000 (23:20 -0500)]
Merge pull request #20507 from trociny/wip-remote-rename

 librbd: make rename request complete with filtered code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20600 from liewegas/wip-msgr-level
Haomai Wang [Tue, 27 Feb 2018 02:05:29 +0000 (10:05 +0800)]
Merge pull request #20600 from liewegas/wip-msgr-level

msg/async/AsyncConnection: less noisy debug

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #20572 from batrick/erasure-code-cephfs-doc
Gregory Farnum [Mon, 26 Feb 2018 22:59:59 +0000 (14:59 -0800)]
Merge pull request #20572 from batrick/erasure-code-cephfs-doc

doc: cleanup erasure coded pool doc on cephfs use

7 years agobluestore: correctly check all block devices to decide if journal is_rotational 20602/head
Greg Farnum [Mon, 26 Feb 2018 21:33:45 +0000 (13:33 -0800)]
bluestore: correctly check all block devices to decide if journal is_rotational

Fixes: http://tracker.ceph.com/issues/23141
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agomsg/async/AsyncConnection: less noisy debug 20600/head
Sage Weil [Mon, 26 Feb 2018 21:17:54 +0000 (15:17 -0600)]
msg/async/AsyncConnection: less noisy debug

This spams logs of healthy OSDs.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoceph-volume: lvm list now works with raw devices
Andrew Schoen [Mon, 26 Feb 2018 20:43:40 +0000 (14:43 -0600)]
ceph-volume: lvm list now works with raw devices

If you used a raw device with --data to create an OSD
you can now use 'lvm list' to get information about that OSD
using the raw device name like:

ceph-volume lvm list /dev/sda

fixes http://tracker.ceph.com/issues/23140

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20571 from dzafman/wip-21833-2
David Zafman [Mon, 26 Feb 2018 19:53:15 +0000 (11:53 -0800)]
Merge pull request #20571 from dzafman/wip-21833-2

Fix asserts caused by DNE pgs left behind after lots of OSD restarts

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20594 from ceph/wip-rm23004
Alfredo Deza [Mon, 26 Feb 2018 19:24:38 +0000 (14:24 -0500)]
Merge pull request #20594 from ceph/wip-rm23004

ceph-volume: log the current running command for easier debugging

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa/workunits/rbd: switch devstack tempest to 17.2.0 tag 20599/head
Jason Dillaman [Mon, 26 Feb 2018 16:22:43 +0000 (11:22 -0500)]
qa/workunits/rbd: switch devstack tempest to 17.2.0 tag

Fixes: http://tracker.ceph.com/issues/22961
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20560 from dillaman/wip-22960-1
Mykola Golub [Mon, 26 Feb 2018 18:51:36 +0000 (20:51 +0200)]
Merge pull request #20560 from dillaman/wip-22960-1

librbd: minor cleanup of the IO pathway

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: moved write same buffer assembler to common location 20560/head
Jason Dillaman [Fri, 16 Feb 2018 03:23:03 +0000 (22:23 -0500)]
librbd: moved write same buffer assembler to common location

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: decoupled object read requests from result assembler
Jason Dillaman [Thu, 15 Feb 2018 21:37:48 +0000 (16:37 -0500)]
librbd: decoupled object read requests from result assembler

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: use move-semantics for object IO data payloads
Jason Dillaman [Thu, 15 Feb 2018 17:19:28 +0000 (12:19 -0500)]
librbd: use move-semantics for object IO data payloads

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: track the originating source of a flush request
Jason Dillaman [Mon, 19 Feb 2018 21:09:51 +0000 (16:09 -0500)]
librbd: track the originating source of a flush request

This will be used in a later cleanup to remove the IO flush handling
from ImageCtx.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: separated queued image IO requests from state machine
Jason Dillaman [Thu, 15 Feb 2018 15:44:38 +0000 (10:44 -0500)]
librbd: separated queued image IO requests from state machine

This breaks the tight coupling between the IO work queue and
the actual dispatch of IO requests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr: die on bind() failure 20595/head
John Spray [Mon, 26 Feb 2018 17:11:16 +0000 (17:11 +0000)]
mgr: die on bind() failure

Previously, the daemon would get wedged if it
competed for the same port as another daemon
on the same host and lost.

Fixes: https://tracker.ceph.com/issues/23037
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoceph-objectstore-tool: do not check action_on_object_t::call()'s retval 20593/head
Kefu Chai [Mon, 26 Feb 2018 14:34:37 +0000 (22:34 +0800)]
ceph-objectstore-tool: do not check action_on_object_t::call()'s retval

it never fails.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-objectstore-tool: do not check queue_transaction()'s retval
Kefu Chai [Mon, 26 Feb 2018 14:30:59 +0000 (22:30 +0800)]
ceph-objectstore-tool: do not check queue_transaction()'s retval

it never fails.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-objectstore-tool: don't destroy SnapMapper until the txn is completed
Kefu Chai [Mon, 26 Feb 2018 14:20:43 +0000 (22:20 +0800)]
ceph-objectstore-tool: don't destroy SnapMapper until the txn is completed

ch->flush() only ensure that the op is dequeued from osr/collection's
queue. but the ops could be still in the flight and they could still be
holding a *weak* reference of SnapMapper. we should make sure that the
mapper is still available when they reference it,

Fixes: http://tracker.ceph.com/issues/23121
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-volume: log the current running command for easier debugging 20594/head
Andrew Schoen [Mon, 26 Feb 2018 16:04:07 +0000 (10:04 -0600)]
ceph-volume: log the current running command for easier debugging

Fixes: http://tracker.ceph.com/issues/23004
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoosd: Remove partially created pg known as DNE 20571/head
David Zafman [Fri, 23 Feb 2018 20:06:05 +0000 (12:06 -0800)]
osd: Remove partially created pg known as DNE

Fixes: http://tracker.ceph.com/issues/21833
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20567 from liewegas/wip-kill-pg-preferred
Sage Weil [Mon, 26 Feb 2018 15:13:40 +0000 (09:13 -0600)]
Merge pull request #20567 from liewegas/wip-kill-pg-preferred

osd/osd_types: kill preferred field in pg_t

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoosd/osd_types: pg_t: remove preferred 20567/head
Sage Weil [Fri, 23 Feb 2018 15:03:05 +0000 (09:03 -0600)]
osd/osd_types: pg_t: remove preferred

We killed this many many years ago; remove it!

Keep the hash<pg_t> value the same just in case this leaked into some
on-disk or on-wire structure.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20592 from ceph/ceph-volume-ssh
Alfredo Deza [Mon, 26 Feb 2018 14:55:55 +0000 (09:55 -0500)]
Merge pull request #20592 from ceph/ceph-volume-ssh

ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agocommon/OpTracker: reorder fields 20540/head
Piotr Dałek [Fri, 23 Feb 2018 13:08:25 +0000 (14:08 +0100)]
common/OpTracker: reorder fields

Reorder smaller fields around so they're aligning naturally,
regaining a few bytes of storage.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agomon/Monitor: add missing shutdown of OpTracker
Piotr Dałek [Fri, 23 Feb 2018 08:37:11 +0000 (09:37 +0100)]
mon/Monitor: add missing shutdown of OpTracker

Now that it has its own processing thread, it must be shut down
explicitly or it'll sigsegv randomly.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agomon/OSDMonitor: remove op_tracker
Piotr Dałek [Fri, 23 Feb 2018 08:33:33 +0000 (09:33 +0100)]
mon/OSDMonitor: remove op_tracker

It's unused anyway.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agocommon/OpHistory: move insert/cleanup into separate thread
Piotr Dałek [Thu, 22 Feb 2018 13:45:52 +0000 (14:45 +0100)]
common/OpHistory: move insert/cleanup into separate thread

Cluster that's flooded with incoming ops (and enabled optracker)
is bottlenecked by OpHistory::insert. Reduce that by:
- pushing incoming ops into separate queue that'll be processed by
  separate thread.
- using std::atomic_bool for shutdown flag so ops_history_lock doesn't
  need to be taken as often

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agoMerge pull request #20591 from idryomov/wip-krbd-latest-osdmap-on-map-test
Ilya Dryomov [Mon, 26 Feb 2018 14:07:01 +0000 (15:07 +0100)]
Merge pull request #20591 from idryomov/wip-krbd-latest-osdmap-on-map-test

qa: krbd latest-osdmap-on-map test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests 20592/head
Andrew Schoen [Mon, 26 Feb 2018 13:54:56 +0000 (07:54 -0600)]
ceph-volume: add ANSIBLE_SSH_RETRIES=5 to functional tests

Occasionally we get tests that fail because a test node becomes
'unreachable'. This should avoid those ssh connection issues we see sometimes
by increasing the amount of times ansible will try to reconnect to a node
after an ssh failure.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20152 from Rubab-Syed/add_units_to_performance_counters
John Spray [Mon, 26 Feb 2018 11:24:43 +0000 (11:24 +0000)]
Merge pull request #20152 from Rubab-Syed/add_units_to_performance_counters

mgr: add units to performance counters

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20576 from wjwithagen/wjw-fix-store_test
Kefu Chai [Mon, 26 Feb 2018 09:39:18 +0000 (17:39 +0800)]
Merge pull request #20576 from wjwithagen/wjw-fix-store_test

test: put new BlueStore tests un ifdef WITH_BLUESTORE

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/run-standalone.sh: pass PYTHONPATH env var to test 20589/head
Kefu Chai [Mon, 26 Feb 2018 06:38:49 +0000 (14:38 +0800)]
qa/run-standalone.sh: pass PYTHONPATH env var to test

otherwise ceph-mgr will refuse to start if the required python binding,
a.k.a mgr_module is not available in default sys.path.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorbd: add 'group rename' action to CLI and Python API 20577/head
songweibin [Sat, 24 Feb 2018 02:44:30 +0000 (10:44 +0800)]
rbd: add 'group rename' action to CLI and Python API

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agolibrbd: add group rename methods
songweibin [Sat, 24 Feb 2018 02:41:52 +0000 (10:41 +0800)]
librbd: add group rename methods

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agocls_rbd: add group rename operations to cls_rbd
songweibin [Sat, 24 Feb 2018 02:39:42 +0000 (10:39 +0800)]
cls_rbd: add group rename operations to cls_rbd

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #20552 from xiexingguo/wip-scrub-preempt-fixes
Kefu Chai [Mon, 26 Feb 2018 01:55:24 +0000 (09:55 +0800)]
Merge pull request #20552 from xiexingguo/wip-scrub-preempt-fixes

osd/PG: decay scrub_chunk_max too if scrub is preempted

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20555 from jdurgin/wip-min-size-default
Kefu Chai [Mon, 26 Feb 2018 01:54:50 +0000 (09:54 +0800)]
Merge pull request #20555 from jdurgin/wip-min-size-default

mon/OSDMonitor: fix min_size default for replicated pools

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20549 from Songweibin/wip-cleanup
Kefu Chai [Mon, 26 Feb 2018 01:52:34 +0000 (09:52 +0800)]
Merge pull request #20549 from Songweibin/wip-cleanup

common: fix typo in options.cc

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoqa: krbd latest-osdmap-on-map test 20591/head
Ilya Dryomov [Fri, 23 Feb 2018 10:03:33 +0000 (11:03 +0100)]
qa: krbd latest-osdmap-on-map test

Make sure we get the latest osdmap when using an existing client.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge PR #20562 into master
Patrick Donnelly [Sat, 24 Feb 2018 18:25:47 +0000 (10:25 -0800)]
Merge PR #20562 into master

* refs/pull/20562/head:
doc:Update ceph-fuse doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20574 from tchaikov/wip-no-more-hash-pthread-t
Kefu Chai [Sat, 24 Feb 2018 10:03:14 +0000 (18:03 +0800)]
Merge pull request #20574 from tchaikov/wip-no-more-hash-pthread-t

common/lockdep: drop hash<pthread_t> specialization

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agotest: put net BlueStore tests un ifdef WITH_BLUESTORE 20576/head
Willem Jan Withagen [Sat, 24 Feb 2018 08:31:45 +0000 (09:31 +0100)]
test: put net BlueStore tests un ifdef WITH_BLUESTORE

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #20497 from tchaikov/wip-ceph-disk-cmd-failure
Kefu Chai [Sat, 24 Feb 2018 04:20:53 +0000 (12:20 +0800)]
Merge pull request #20497 from tchaikov/wip-ceph-disk-cmd-failure

ceph-disk: include output of failed command in exception

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20534 from tchaikov/wip-22413
Kefu Chai [Sat, 24 Feb 2018 04:18:51 +0000 (12:18 +0800)]
Merge pull request #20534 from tchaikov/wip-22413

librados: make OPERATION_FULL_FORCE the default for rados_remove()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20456 from b-ranto/wip-mgr-prom
Kefu Chai [Sat, 24 Feb 2018 04:17:48 +0000 (12:17 +0800)]
Merge pull request #20456 from b-ranto/wip-mgr-prom

mgr/prometheus: Skip bogus entries

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #19843 from ifed01/wip-ifed-bluestore-repair
Kefu Chai [Sat, 24 Feb 2018 04:15:40 +0000 (12:15 +0800)]
Merge pull request #19843 from ifed01/wip-ifed-bluestore-repair

os/bluestore: implement BlueStore repair

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>