| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes: https://tracker.ceph.com/issues/65337
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
|
|
|
|
|
|
|
| |
Pull the `io_context` and threads out of `AsioFrontend`, pass in a
reference to `io_context_pool` so it can be shut down at `AsioFrontend::join`
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
|
|
|
|
|
|
|
| |
`RadosDriver` needs it, and since SAL generally uses `optional_yield`,
other stores are going to need it to implement that sensibly.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
|
|
|
|
| |
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
| |
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
|
|
|
| |
Remove trailing spaces and use "#pragma once" rather than "#ifndef" to
assure a header files is only loaded once during compilation.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
|
|
|
|
| |
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of constructing a separate RGWProcessEnv for each frontend,
initialize a single instance in AppMain and share a reference with each
frontend
RGWRealmReloader now takes a reference to RGWProcessEnv instead of a
reference to the Store pointer itself, and updates RGWProcessEnv::store
on realm reload
because RGWRealmReloader may mutate RGWProcessEnv::store, we no longer have
a separate AppMain::store pointer, so don't worry about keeping that
consistent over reloads
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
All along, we've had an overload of the term "store". It was the base
class of the entrypoint, and it was the lowest layer in a stack. This
renames the base class to Driver. So, the primary elements of zipper
that to work are now Drivers, and they come in two different flavors:
Filters live in the middle of the stack, and do not need to implement
every API, but pass through instead. And Stores live a the bottom of
the stack, and must implement the entire API.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
|
|
|
|
|
|
| |
The RGWRealmReloader holds a reference on it.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
|
|
|
| |
AppMain::shutdown() had borrowed the unregister_async_signal_handler()
text from librgw, but of course, that's wrong.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
| |
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reorganize some dependencies shared by the librgw.so and radosgw
main units. The librgw.so build no longer builds a main(...)
unit.
Build time should be slightly reduced, as several shared dependencies
have been moved into rgw_a.
There are some other cleanups, e.g., rgw_signal.{h,cc}.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
| |
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
| |
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
|
|
|
| |
Consolidate standalone and library initialization into one
unit.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
|
|
|
|
|
|
|
| |
s/rgw::InitHelper/rgw::AppMain/;
Move program state from RGWLib into AppMain, preparing it to
manage program state for all RGW instances (e.g., main()).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|