Sage Weil
c8a8dc21fd
Merge PR #24828 into master
...
* refs/pull/24828/head:
qa/osd-bluefs-volume-ops: use ceph-bluestore-tool for fsck
qa/osd-bluefs-volume-ops: reduce space usage for the test case
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-11-08 16:26:52 -06:00
Sage Weil
2be6d4e5ec
Merge PR #24948 into master
...
* refs/pull/24948/head:
os/bluestore: fix wal dir presence verification
Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-08 16:26:36 -06:00
Yehuda Sadeh
8409a876ce
Merge pull request #24014 from yehudasa/wip-rgw-svc-2
...
rgw: initial RGWRados refactoring work
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-08 14:00:51 -08:00
Yehuda Sadeh
84764013e4
rgw: shutdown services only if initialized
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 12:56:26 -08:00
Yehuda Sadeh
e0dc5a86cb
librados_test_stub: implement move operations
...
Need to match whatever librados implements.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 12:43:21 -08:00
Sage Weil
5552971a8b
Merge PR #24995 into master
...
* refs/pull/24995/head:
doc: use 'proxy' cache mode in "Removing a Writeback Cache" procedure
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-08 12:59:51 -06:00
Kefu Chai
0966f43d98
Merge pull request #24896 from tchaikov/wip-librados-cleanup
...
librados,rpm,deb: various fixes to address librados3 transition and cleanups in librados
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-08 10:19:57 -08:00
Mykola Golub
ab880ee6ba
doc: use 'proxy' cache mode in "Removing a Writeback Cache" procedure
...
The 'forward' mode is flawed as it allows the reordering of requests.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-11-08 19:23:12 +02:00
Yehuda Sadeh
c3dd80bb2f
test/rbd_mirror: fix linking
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
4b043aa380
rgw: svc_notify: call set_enabled() when registering callback
...
svc_notify starts before svc_sysobj_cache, this way we make sure
svc_sysobj_cache gets the status callback triggered.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
fc860a367b
rgw: sysobj_core: filter sysobj attrs
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
cfd66c5f89
librados: add move operations to IoCtx
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
238f0ef4a4
rgw: chained cache shouldn't access service after it was unchained
...
This fixes a cleanup ordering issue. We can now have the chained cache
removed before and after the service is destructed.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
27664f22c4
rgw: AioThrottle uses RGWSI_RADOS::Obj
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
d75e7a9fa9
rgw: RADOS::Pool::create() for single pool
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
86190327a0
rgw: RADOS::Pool::lookup() uses Pool's pool name
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
79eb9a9e5c
rgw: add Obj::aio_operate() for read ops
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
fa7041126d
rgw: rgw_rados_ref uses default copy/move
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
9be21f80c5
rgw: fix svc_zone compile with is_started()
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
d480cbe32a
rgw: fix list_realms() and list_zones()
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
b6cfb3f34d
rgw: fix chained cache put if cache isn't initialized
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
50e5c08958
rgw: svc: support raw storage init
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
1ad00c9435
rgw: move services shutdown around
...
fixes ordering
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
0d8185cb96
rgw: services shutdown
...
Explicitly make sure services are being shut down in appropriate order.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
39258cb4c7
rgw: unregister chained cache on shutdown
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
a7cc961ae7
rgw: svc: hold services in unique_ptr
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
2053556de1
rgw: don't try to canonicalize raw obj
...
and other minor fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
58680b8860
rgw: remove unneeded code
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
10462d6191
rgw: don't include rgw_zone.h in svc_zone.h
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
4c0675bbc3
rgw: svc: due to popular demand, get rid of service registry
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
cc4ecac031
rgw: api fixes following rebase
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
bf688f2e27
rgw: more code removal and api adjustments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
254ca811ca
rgw: chained cache doesn't init if not caching
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
af5eb09aa7
rgw: svc: remove SystemObject impl
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
66f9c146ff
rgw: svc: fixes
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
deccf50cd4
rgw: services init fixes
...
First load all depending services, then initialize all.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
4f9375cbbe
rgw: minor adjustments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
97e44b644e
rgw-admin: api adjustments
...
now compiles
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
0736b085a7
rgw: svc: more changes, add svc_sync_modules
...
radosgw actually compiles now
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
346af50d0b
rgw: rgw_zone api adjustments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
dbaf94b0a6
rgw: add missing files
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
91601cf98a
rgw: svc_finisher: create service
...
and other fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
771eafc973
rgw: svc_cache: more work
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
074936b5c2
rgw: svc_notify: initial work
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
0f39a29dc8
rgw: sysobj service: initial cache conversion
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
c5440ae526
rgw: svc_sysobj: split core out
...
Split core sysobj interface from sysobj service so that cache could be
implemented.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
3192f640d5
rgw: zone, sysobj services: add missing system obj calls
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
7c241f2c1d
rgw: sys_obj service, move zone init to svc_zone
...
still wip
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
f46a94f8fc
rgw: svc: more zone work, add zone_utils, quota services
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
ca8a636d08
rgw: more refactoring work, initial work on svc_rados
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:18:09 -08:00