Commit Graph

83577 Commits

Author SHA1 Message Date
Jason Dillaman
1ea789c247 librbd: removed legacy object cacher hooks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
c9e35cfaad rbd-mirror: corrected implicitly included dout header
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
898223eea6 librbd: removed legacy journal event tracking hooks from IO path
The new journal object dispatch layer handles delaying writes to the
OSD until the journal event is safe. This avoid the need for two
different code paths for cache and non-cache case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
1231e33d25 librbd: removed object cacher hooks from IO image request
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
9440e5a1da librbd: removed object cacher hooks from IO object request
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
4f866c6f7f librbd: integrate object cacher writeback handler with dispatcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
dcdc224144 librbd: switch to new object dispatcher-based cache hooks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
9aed97c043 librbd: pass image flush requests to object dispatcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
b000324a08 librbd: include flush source in image dispatch spec
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:42 -05:00
Jason Dillaman
425e579a3d librbd: wrap a object dispatcher facade around object cacher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:41 -05:00
Jason Dillaman
623294202a librbd: added object dispatch handler for journal IO
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:45:00 -05:00
Jason Dillaman
7c3ca2b528 librbd: switch to object IO requests to dispatcher interface
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-07 12:44:59 -05:00
Jason Dillaman
3e572b3628 librbd: separated queued object IO requests from state machine
This breaks the tight coupling between the journal and the actual
dispatch of object IO requests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-05 09:37:58 -05:00
Ilya Dryomov
bd05dbd694
Merge pull request #20714 from idryomov/wip-krbd-msgr-segments-test
qa: krbd msgr-segments test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-05 15:25:56 +01:00
Ilya Dryomov
392fab6919 qa: krbd msgr-segments test
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-05 11:51:08 +01:00
Kefu Chai
1178d05fe2
Merge pull request #20687 from Songweibin/wip-misc-cleanup
mon,osd,crush: misc cleanup

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-05 17:57:52 +08:00
Kefu Chai
a5103b6cad
Merge pull request #20485 from jcsp/wip-23017
mgr: quieten logging on missing OSD stats

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-05 17:56:18 +08:00
Sage Weil
5980993f4b
Merge pull request #20573 from liewegas/wip-mgr-ovh
qa/suites/rados/rest/mgr: provision openstack volumes
2018-03-04 15:44:21 -06:00
Ilya Dryomov
1ea80cf693
Merge pull request #20692 from idryomov/wip-krbd-huge-image-test
qa: krbd huge-image test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-03 13:18:33 +01:00
Ilya Dryomov
6828641e72 qa: krbd huge-image test
We've had multiple overflows in ceph_calc_file_object_mapping().
It wasn't being used by rbd, but it now is.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-02 19:41:11 +01:00
Ilya Dryomov
b5c51bd9c5 qa/suites/krbd: rename blkroset to basic
More simple fixed-1.yaml based tests are coming.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-02 18:26:38 +01:00
vasukulkarni
8e8c5e2a38
Merge pull request #20680 from cbodley/wip-qa-dnsmasq
qa: clean up dnsmasq task and fix EPERM error
2018-03-02 08:47:40 -08:00
Yuri Weinstein
5f6ab4667a
Merge pull request #19252 from joke-lee/website_redirect
rgw: fix s3 website redirection error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-02 08:22:03 -08:00
Yuri Weinstein
9ed013a82f
Merge pull request #20635 from mdw-at-linuxbox/wip-master-rgw-openssl
rgw: curl* reuse and for debian, use openssl not gnutls.

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-03-02 08:21:22 -08:00
Alfredo Deza
cf65a91acf
Merge pull request #20673 from ceph/wip-rm23148
docs fix ceph-volume missing sub-commands

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-02 09:49:30 -05:00
songweibin
ad60da940d crush: should break the loop if leaves overfull
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-02 15:54:06 +08:00
songweibin
0bfafc2db0 osd: drop redundant assert check
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-02 15:39:48 +08:00
Xie Xingguo
01fc18c447
Merge pull request #20684 from liewegas/wip-bluestore-cache-debug
os/bluestore: no trim debug noise if there is no trimming to be done

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-02 10:57:57 +08:00
Sage Weil
4cdadddffb os/bluestore: no trim debug noise if there is no trimming to be done
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-01 20:33:24 -06:00
Kefu Chai
7c1ab086da
Merge pull request #20637 from wjwithagen/wjw-fix-MDSmonitor.h
mon/MDSMonitor: fix clang build failure

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-03-02 10:20:54 +08:00
Kefu Chai
b60659564f
Merge pull request #20671 from batrick/rados-doc-flags
doc: init flags to 0 in rados example

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-02 09:19:54 +08:00
Kefu Chai
1b5c937509
Merge pull request #20653 from xiexingguo/wip-fix-upmap
mon, osd: fix potential collided *Up Set* after PG remapping

Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-02 09:01:06 +08:00
Kefu Chai
759e5f5a9b
Merge pull request #20655 from xiexingguo/wip-fix-calc-upmap
osd/OSDMap: skip out/crush-out osds

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-02 08:59:49 +08:00
Kefu Chai
ca2fd5abb8
Merge pull request #20506 from jan--f/prometheus-rm-outdated-daemon-metrics
pybind/mgr/prometheus: don't export metrics for dead daemon; new metrics

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-02 08:57:42 +08:00
Kefu Chai
8e272b2549
Merge pull request #20667 from tchaikov/wip-qa-standalone
qa/standalone: s/delete_erasure_pool/delete_erasure_coded_pool/

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-03-02 08:56:11 +08:00
Casey Bodley
11570fab73 qa: clean up dnsmasq task and fix EPERM error
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-01 15:55:57 -05:00
Jason Dillaman
aed3a1db9d
Merge pull request #20648 from trociny/wip-snap_set_diff-empty_snapset
librados/snap_set_diff: don't assert on empty snapset

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:40 -05:00
Jason Dillaman
f91753d709
Merge pull request #20613 from Songweibin/wip-23038
rbd: import with option --export-format 2 fails to protect snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:23 -05:00
Jason Dillaman
6eaa1c4bc3
Merge pull request #20608 from Songweibin/wip-rbd-snap-purge
rbd: allow remove all unprotected snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:02 -05:00
Jason Dillaman
f9130d4a3d
Merge pull request #20578 from trociny/wip-pybind-group
librbd: small cleanup for recently merged code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:34:26 -05:00
Casey Bodley
21cf09f8c6
Merge pull request #20621 from cbodley/wip-rgw-data_lock
rgw: don't hold data_lock over frontend io

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-03-01 15:05:50 -05:00
Casey Bodley
e05b74cb05
Merge pull request #20449 from cbodley/wip-rgw-beast-coroutine
rgw: switch beast frontend back to stackful coroutine

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-03-01 15:04:59 -05:00
Alfredo Deza
c66300db83 doc/install add missing lvm subcommand for ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-01 14:22:01 -05:00
Alfredo Deza
1c846f3389 doc/rados add missing lvm subcommand for ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-01 14:21:05 -05:00
Casey Bodley
855512aa28
Merge pull request #20546 from yehudasa/wip-rgw-gc-aio
rgw: gc use aio

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-03-01 13:54:11 -05:00
Patrick Donnelly
f52782694f
Merge PR #20643 into master
* refs/pull/20643/head:
	ceph-volume-client: fix command argument order

Reviewed-by: Ramana Raja <rraja@redhat.com>
2018-03-01 08:48:30 -08:00
Andrew Schoen
d14e4e6452
Merge pull request #20650 from ceph/wip-rm22841
ceph-volume be resilient to $PATH issues

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-01 16:42:38 +01:00
Patrick Donnelly
a276c7097e
doc: init flags to 0 in rados example
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-01 07:02:00 -08:00
Jason Dillaman
ecadb2c85b
Merge pull request #20656 from yaozongyou/rbd-fix-return
librbd: fix missing return in NotifyMessage::get_notify_op

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 08:45:03 -05:00
songweibin
7deeef9164 rbd: allow remove all unprotected snapshots
allow remove all unprotected snapshots when exiting
protected snapshots in the same image.
Fixes: http://tracker.ceph.com/issues/23126

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-01 21:01:24 +08:00