Commit Graph

80641 Commits

Author SHA1 Message Date
David Disseldorp
4d0b700688 sysctl: relocate 90-ceph-osd.conf under etc/sysctl/
Signed-off-by: David Disseldorp <ddiss@suse.de>
2017-11-17 14:40:23 +01:00
Jos Collin
51c8b804d6
Merge pull request #18950 from sknorr/fix-rn-typos
doc: Fix typos in release notes

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-17 10:23:12 +05:30
Matt Benjamin
c662dc3067
Merge pull request #17977 from cbodley/wip-rgw-beast-qa
qa/rgw: add beast frontend to some rgw suites
2017-11-16 15:14:28 -05:00
Patrick Donnelly
3a394293fc
Merge PR #18600 into master
* refs/pull/18600/head:
	MDSMonitor: only clog changes to active

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2017-11-16 11:47:05 -08:00
Patrick Donnelly
5f627b1fe3
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-16 11:47:05 -08:00
Patrick Donnelly
73599b7470
Merge PR #18774 into master
* refs/pull/18774/head:
	mds: fix CDir::log_mark_dirty()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-16 11:45:59 -08:00
Mykola Golub
8defef4ba2
Merge pull request #18887 from dillaman/wip-20789
librbd: compare and write against a clone can result in failure

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-16 19:32:42 +02:00
Andrew Schoen
e83d370ab4
Merge pull request #18924 from ceph/wip-cv-filestore-devices
ceph-volume: allow using a device or partition for `lvm --data`

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-11-16 10:47:14 -06:00
Yuri Weinstein
cfd2999700
Merge pull request #18700 from tianshan/fix_cls_bucket_head
rgw: fix cls_bucket_head result order consistency

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-16 08:31:16 -08:00
Yuri Weinstein
00c95a0931
Merge pull request #18926 from theanalyst/wip-mp-jewel-fix
rgw: set sync_from_all as true when no value is seen

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-11-16 08:30:52 -08:00
Alfredo Deza
def89a411f ceph-volume tests.functional create a common playbook directory for setups
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:27 -05:00
Alfredo Deza
9bfab348b2 doc/ceph-volume lvm prepare can accept devices for --data
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:27 -05:00
Alfredo Deza
210c1e1d47 ceph-volume tests.functional add setup playbook for xenial filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
d0754e2517 ceph-volume tests.functional add data device and journal to xenial filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
d0f5623963 ceph-volume tests.functional add setup playbook for xenial bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
fbcfb52298 ceph-volume tests.functional add raw data device to xenial bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
d074b53464 ceph-volume tests.functional tox.ini addition of setup playbook for partitions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
2d416a849a ceph-volume tests.functional add raw data device to centos7 bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
161fd373d2 ceph-volume tests.functional add setup playbook for centos7 bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
b3bb147298 ceph-volume tests.functional add setup playbook for centos7 filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:26 -05:00
Alfredo Deza
c5b8d72570 ceph-volume tests.functional add raw device to centos7 filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:25 -05:00
Alfredo Deza
4df7ea8d83 ceph-volume lvm.common update --data flag to reflect device acceptance
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-16 09:00:25 -05:00
Jason Dillaman
a19239a21d
Merge pull request #18969 from vshankar/rbd-mirror-image-map-state-transition
rbd-mirror: use next transition state to check transition completeness

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 08:36:23 -05:00
Sage Weil
c3a868f77f
Merge pull request #18960 from Liuchang0812/mailmap-update
.mailmap, .organizationmap: update JingChen, ZongyouYao, ShanchunLv's…
2017-11-16 07:15:08 -06:00
Jason Dillaman
4e8b0b60a7 test/librbd: disable compare and write if skipping partial discard
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
0e643fb926 librbd: refactor object write request state machines
Fixes: http://tracker.ceph.com/issues/20789
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
318797f59a librbd: consolidate all object discard-related logic into single state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
7117aa4eca librbd: simplify interface between object IO and copyup state machines
The initial copyup was not receiving a write hint and the
code for hints was duplicated multiple times. Additionally,
the object map state should match the last executed write op.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
f6db9b8027 librbd: copyup state machine needs to handle empty write ops
The compare-and-write object operation cannot be executed
concurrently within a copyup operation since the object might not
exist yet (if not performing a deep-copy).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
e79c0cf200 librbd: object cacher should re-use read state machine
This adds support for sparse-reads and ensures all object reads
utilize a single, tested code path.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
62c3282b87 librbd: refactor io::ObjectReadRequest
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
ab0e558961 librbd: default template parameter for C_SparseReadRequest
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
284feb6a32 librbd: reduce lock scope when assembling read results
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
35ce1c2d39 librbd: ObjectReadRequest does not require buffer extents
The ReadResult wrapper requires the buffer extents to know
how to properly reconstruct the out buffer.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
654a78fa54 librbd: templatize IO object request state machines
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
c4e5613e4a test/librados_test_stub: mocked remainder of IO ops used by librbd
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Jason Dillaman
4b851ce0fa test/librados_test_stub: simulate set_alloc_hint creating a non-existent file
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-16 07:31:59 -05:00
Stefan Knorr
118b9fe2ae Fix typos in release notes
Signed-off-by: Stefan Knorr <sknorr@suse.de>
2017-11-16 13:08:51 +01:00
Venky Shankar
7faa36b60b rbd-mirror: use next transition state to check transition completeness
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-11-16 07:00:55 -05:00
Mykola Golub
845341ce66
Merge pull request #18952 from dillaman/wip-test-librbd
test/librbd: clean up for several mock function tests

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-16 13:34:28 +02:00
Mykola Golub
3b741bd5c0
Merge pull request #18947 from dillaman/wip-22131
rbd-nbd: certain kernels may not discover resized block devices

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-16 13:32:46 +02:00
Mykola Golub
133785573b
Merge pull request #18909 from dillaman/wip-22120
librbd: possible deadlock with synchronous maintenance operations

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-16 13:30:18 +02:00
Mykola Golub
956f3c8bfe
Merge pull request #18923 from dillaman/wip-21966
librbd: prevent overflow of discard API result code

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-16 13:28:51 +02:00
Jos Collin
407238a42c
Merge pull request #18918 from ZVampirEM77/wip-em-rewrite-cmd
rgw: add rewrite cmd and options into radosgw-admin usage and doc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-16 10:25:32 +05:30
Chang Liu
bc20165a42 .mailmap, .organizationmap: update JingChen, ZongyouYao, ShanchunLv's mailmap and affiliation
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-11-16 12:09:48 +08:00
Enming Zhang
cefa401072 rgw: add rewrite related cmd and parameter into radosgw-admin help info
+ radosgw-admin object rewrite
+ radosgw-admin bucket rewrite
+ --min-rewrite-size
+ --max-rewrite-size
+ --min-rewrite-stripe-size

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-11-16 11:15:40 +08:00
Josh Durgin
e81a7ffcda
Merge pull request #18808 from tchaikov/wip-qa-max-pg-per-osd
qa: do not wait for down/out osd for pg convergence

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-11-15 18:05:58 -08:00
Jason Dillaman
87c1dc5181
Merge pull request #15788 from vshankar/mirror-ha-poolwatcher-policy
rbd-mirror: track images in policy map in support of A/A

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-15 20:24:32 -05:00
Casey Bodley
27791852f8
Merge pull request #18953 from cbodley/wip-22139
common: fix BoundedKeyCounter const_pointer_iterator

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-11-15 18:24:59 -05:00
Casey Bodley
fa034b6998 common: fix BoundedKeyCounter const_pointer_iterator
with libc++, clang fails to compile a call to:

  vector::assign(const_pointer_iterator, const_pointer_iterator)

because const_pointer_iterator does not satisfy the InputIterator
concept. added the necessary typedefs for value_type and reference
to reflect the pointer type

Fixes: http://tracker.ceph.com/issues/22139

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-11-15 16:31:27 -05:00