Alfredo Deza
9c8afc2365
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>
2018-02-26 14:24:38 -05:00
Mykola Golub
f2c329129b
Merge pull request #20560 from dillaman/wip-22960-1
...
librbd: minor cleanup of the IO pathway
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-26 20:51:36 +02:00
Jason Dillaman
18bce0a075
librbd: moved write same buffer assembler to common location
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-26 12:31:59 -05:00
Jason Dillaman
c2d47e7df1
librbd: decoupled object read requests from result assembler
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-26 12:31:59 -05:00
Jason Dillaman
ac077112d6
librbd: use move-semantics for object IO data payloads
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-02-26 12:31:58 -05:00
Jason Dillaman
49f4f331d9
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>
2018-02-26 12:29:37 -05:00
Jason Dillaman
baa0b68260
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>
2018-02-26 12:28:25 -05:00
Andrew Schoen
911ca889cd
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>
2018-02-26 10:13:59 -06:00
Sage Weil
1378ab7df5
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>
2018-02-26 09:13:40 -06:00
Sage Weil
df455a8b9f
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>
2018-02-26 09:06:57 -06:00
Alfredo Deza
91c877fb06
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>
2018-02-26 09:55:55 -05:00
Ilya Dryomov
bdb7a75a6d
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>
2018-02-26 15:07:01 +01:00
Andrew Schoen
44a5b2eb3a
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>
2018-02-26 07:54:56 -06:00
John Spray
f21ab4a037
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>
2018-02-26 11:24:43 +00:00
Kefu Chai
a35b4294aa
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>
2018-02-26 17:39:18 +08:00
Kefu Chai
4c98fa3714
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>
2018-02-26 09:55:24 +08:00
Kefu Chai
f4d1dd9c97
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>
2018-02-26 09:54:50 +08:00
Kefu Chai
093f04e44d
Merge pull request #20549 from Songweibin/wip-cleanup
...
common: fix typo in options.cc
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-26 09:52:34 +08:00
Ilya Dryomov
72edaae04d
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>
2018-02-25 11:40:19 +01:00
Patrick Donnelly
d59b41342a
Merge PR #20562 into master
...
* refs/pull/20562/head:
doc:Update ceph-fuse doc
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-24 10:25:47 -08:00
Kefu Chai
215aa3a6bc
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>
2018-02-24 18:03:14 +08:00
Willem Jan Withagen
071c47e8e2
test: put net BlueStore tests un ifdef WITH_BLUESTORE
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-02-24 09:31:45 +01:00
Kefu Chai
7a944125a4
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>
2018-02-24 12:20:53 +08:00
Kefu Chai
026b767ae9
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>
2018-02-24 12:18:51 +08:00
Kefu Chai
4a00e32e4b
Merge pull request #20456 from b-ranto/wip-mgr-prom
...
mgr/prometheus: Skip bogus entries
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-24 12:17:48 +08:00
Kefu Chai
c8886cd77d
Merge pull request #19843 from ifed01/wip-ifed-bluestore-repair
...
os/bluestore: implement BlueStore repair
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-24 12:15:40 +08:00
Kefu Chai
327c81d70b
Merge pull request #14727 from voidbag/wip-voidbag-bdev-discard
...
os/bluestore: add discard method for ssd's performance
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-By: Sage Weil <sage@redhat.com>
2018-02-24 12:13:15 +08:00
Kefu Chai
a9ecfb1b82
common/lockdep: drop hash<pthread_t> specialization
...
quote from http://en.cppreference.com/w/cpp/utility/hash :
> Each standard library header that declares the template std::hash
> provides enabled specializations of std::hash for std::nullptr
> and all cv-unqualified arithmetic types (including any extended
> integer types), all enumeration types, and all pointer types.
since we've switched to C++17. this full specialization is not necessary
anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-24 11:34:04 +08:00
Casey Bodley
2b8450089c
Merge pull request #20488 from theanalyst/rgw/frontend-init
...
rgw: make init env methods return an error
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-23 16:35:53 -05:00
Sage Weil
5b527616de
osd/osd_types: pg_t: remove set_preferred()
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-23 09:29:00 -06:00
Jos Collin
12b4960656
doc:Update ceph-fuse doc
...
Fixes: http://tracker.ceph.com/issues/23084
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-23 20:27:45 +05:30
Sage Weil
15e537e418
Merge pull request #20504 from dzafman/wip-pg-states-doc
...
doc: Add missing pg states from doc
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-23 06:25:18 -06:00
xie xingguo
323dca0c82
osd/PG: kill extra scrubber state transition
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-23 14:26:47 +08:00
Josh Durgin
d1ca620698
mon/OSDMonitor: fix min_size default for replicated pools
...
This was accidentally changed to 0 by using the config value
directly in 582e567c93
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-02-23 00:39:13 -05:00
xie xingguo
a926052467
osd/PG: decay scrub_chunk_max too if scrub is preempted
...
In normal case we'll at least scrub as many objects as
osd_scrub_chunk_max specified at a time, so the current
backoff mechanism should have very limit effect.
Decay both osd_scrub_chunk_min and osd_scrub_chunk_max
should instead be a better resolution.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-02-23 11:47:54 +08:00
Alfredo Deza
f584df78c2
Merge pull request #20543 from ceph/wip-rm23080
...
ceph-volume correctly normalize mount flags
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 19:06:33 -05:00
Alfredo Deza
6671cb4fd1
ceph-volume tests.util update tests for mount flags
...
Include parametrized flags for ensuring a combination of values will
still be normalized regardless on how they are on ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 16:19:54 -05:00
Alfredo Deza
6bd226a3b4
ceph-volume util.prepare normalize mount flags for CLI
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 16:19:54 -05:00
Alfredo Deza
b6575288d6
Merge pull request #20510 from ceph/wip-cdp-docs-update
...
docs update ceph-deploy reference to reflect ceph-volume API
Reviewed-by: Vasu Kulkarni <vakulkar@redhat.com>
2018-02-22 15:30:22 -05:00
Alfredo Deza
f696104e19
Merge pull request #20537 from ceph/wip-rm22878
...
ceph-volume: adds support to zap encrypted devices
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 15:05:36 -05:00
Casey Bodley
992c19ab67
Merge pull request #20425 from yehudasa/wip-22982
...
rgw: parse old rgw_obj with namespace correctly
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-22 14:07:55 -05:00
Casey Bodley
fbb62621ac
Merge pull request #13644 from yehudasa/wip-rgw-ragweed
...
rgw: changes to support ragweed
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-22 12:02:30 -05:00
Andrew Schoen
64659882d7
ceph-volume: use lv.encrypted property with lvm zap
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 11:01:10 -06:00
Andrew Schoen
5f1c0219d0
ceph-volume: adds an encrypted property to api.lvm.Volume
...
This property will return a boolean indicating if the lv
is encrypted or not.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 11:00:15 -06:00
Andrew Schoen
1d5606885a
ceph-volume: add zapping to lvm dmcrypt tests
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 10:46:11 -06:00
Andrew Schoen
70f68e2c19
ceph-volume: test zapping for both lvm create and lvm dmcrypt
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 10:46:11 -06:00
Andrew Schoen
4e28bfafc7
ceph-volume: adds support to zap encrypted devices, lvs, and partitions
...
Fixes: http://tracker.ceph.com/issues/22878
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-22 10:46:11 -06:00
Sage Weil
ef4e658806
Merge pull request #20533 from wido/issue-23083
...
systemd: Wait 10 seconds before restarting ceph-mgr
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-22 09:25:21 -06:00
Alfredo Deza
cc796073b6
doc/rados/troubleshooting update ceph-deploy references with new ceph-voume API
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
Alfredo Deza
c957c70f48
doc/rados/deployment update ceph-deploy references with new ceph-volume API
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00