| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
|
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
|
|
|
|
|
| |
Fixed: http://tracker.ceph.com/issues/18738
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
|
|
| |
It's possible that the future raced with its owner and reaches
an empty reference count. This was resulting in the future being
destructed while its lock was still held.
Fixes: http://tracker.ceph.com/issues/18618
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/18243
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/18243
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/17590
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/17446
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
|
|\
| |
| |
| |
| | |
rbd-mirror: quiesce in-flight event commits before shut down
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
|
| |
| |
| |
| | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|/
|
|
| |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|\
| |
| |
| |
| | |
librbd: optionally unregister "laggy" journal clients
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
|
|/
|
|
| |
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
|
|
|
|
|
|
|
|
| |
Synchronous callers now call the asynchronous version wrapped
around C_SaferCond. Also take care of mocked methods.
Fixes: http://tracker.ceph.com/issues/15321
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|
|
|
|
|
|
|
| |
Introduce asynchronous journal object creation. This is
a prerequisite for asynchronous creation of rbd image
journals.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|
|
|
| |
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|
|
|
| |
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|
|
|
|
|
| |
Asynchronous removal of journal objects for a given rbd image.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|\
| |
| |
| |
| | |
rbd-mirror: reduce memory footprint during journal replay
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
|
| |
| |
| |
| |
| |
| |
| | |
When streaming playback, avoid the unnecessary watch delay when
one or more entries have been pruned.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
If a future flush is requested at the exact same moment that an
overflow is detected, the two threads will deadlock since locks
are not taken in a consistent order.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
rbd-mirror debugging involved potentially thousands of journals
concurrently running. The instance address will correlate log
messages between journals.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now that it's possible for the ObjectPlayer to only read a
partial subset of available entries, the JournalPlayer needs
to detect that more entries might be available.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| | |
Previously it was prefetching up to 2 object sets worth of journal
data objects which consumed too much memory.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Journal playback will need to read at least a full entry which was
currently limited to the maximum object size. In memory constrained
environment, this new optional limit will set a fix upper bound on
memory usage.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| | |
Support fetching the full object or incremental chunks (with a
minimum of at least a single decoded entry if available).
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| |
| |
| |
| | |
Additional runtime configuration settings will be needed. The
new class will avoid the need to expand the constructor.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|/
|
|
|
|
|
|
|
| |
missed it in 0edfad0.
* librbd: pass '--exclude-libs,ALL' to linker
* rbd: link against used libraries explicitly, rbd is accessing some
internal symbols not exposed by librbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
| |
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|\
| |
| |
| |
| | |
rbd-mirror: image resync
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|/
|
|
|
|
|
|
| |
The peer rbd-mirror process will eventually notice that the journal has
been removed and clean itself up. This avoids flooding the log with
expected error messages when journaling is disabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/14530
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/15949
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
|
|
| |
The randomized write sizes of the modified rbd-mirror stress
test results in a lot of journal object with few entries.
Immediately fetch objects when performing a refetch check prior
to closing an empty object.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
|
| |
It's possible that there might be additional entries to prune in
objects that haven't been prefetched yet. Keep the active tag
to allow these entries to be pruned after they have been loaded.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
| |
Otherwise the recorded object positions might point to an older
object that doesn't contain the actual entry.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|