Repository navigation
RBD-replay - #2253
Merged
Merged
RBD-replay#2253
Conversation
No need to duplicate this code. Signed-off-by: Sage Weil <[email protected]>
We can't simply try to delete everything in there because some items may be whiteouts. Instead, flush+evict everything, then remove overlay, and *then* delete what remains. Fixes: ceph#9055 Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
If the image doesn't exist and caching is enabled, the ObjectCacher was not being shutdown, and the ImageCtx was leaked. The IoCtx could later be closed while the ObjectCacher was still running, resulting in a segfault. Simply use the usual cleanup path in open_image(), which works fine here. Fixes: ceph#8912 Backport: dumpling, firefly Signed-off-by: Josh Durgin <[email protected]>
librbd: fix error path cleanup for opening an image Reviewed-by: Sage Weil <[email protected]>
We do not know when the objecter will finally let go of this Context. Thus, we cannot know whether it will happen before the flush, at which point the object_context held by the cop must have been released. Also, we simply don't need it, process_copy_chunk alrady works in terms of the tid! Fixes: ceph#8894 Reviewed-by: Sage Weil <[email protected]> Signed-off-by: Samuel Just <[email protected]>
There is only one caller. Signed-off-by: Sage Weil <[email protected]>
The mark-down of old peers needs to take the session_dispatch_lock in order to safely clear the Session ref cycle. However, for fast dispatch callers, that lock is already held. Pass a flag down from the callers indicating whether we need to take the additional lock. Fixes: ceph#9096 Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
After a split we can get negative values here. Only do the arithmetic if we have a valid (positive) value that won't through the floating point unit for a loop. Fixes: ceph#9082 Tested-by: Karan Singh <[email protected]> Signed-off-by: Sage Weil <[email protected]>
osd: fix require_same_peer_instance from fast_dispatch Reviewed-by: Samuel Just <[email protected]> Reviewed-by: Loic Dachary <[email protected]>
ceph_test_rados_api_tier: fix cache pool cleanup during test Reviewed-by: Samuel Just <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Fixes: ceph#9052 Backport: firefly, dumpling Signed-off-by: Sage Weil <[email protected]>
See src/tracing/README.md Signed-off-by: Noah Watkins <[email protected]>
Signed-off-by: Noah Watkins <[email protected]>
Signed-off-by: Noah Watkins <[email protected]>
Signed-off-by: Noah Watkins <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Simply copied and modified the C++ API example. Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
'ver' is obsolete and variable exists only for proper deserialization Signed-off-by: Adam Crume <[email protected]>
If the HOME variable is not set, LTTng complains, and the extra output fails to match what the tests expect, so they fail. Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
This adds LD_PRELOAD=liblttng-ust-fork.so to TESTS_ENVIRONMENT. This prevents lttng from complaining when processes are forked. The complaints otherwise taint the output and cause tests to fail. Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Tracing may start after the application is started, and image open calls may missed. To support replaying these traces, additional information is traced, allowing missing open calls to be generated. Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Was getting: test/test_rbd_replay.cc:44:3: warning: converting ‘false’ to pointer type for argument 1 of ‘char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)’ [-Wconversion-null] Fixed by changing EXPECT_EQ(false, xxx) to EXPECT_FALSE(xxx). For completeness, also changed EXPECT_EQ(true, xxx) to EXPECT_TRUE(xxx). Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
This is a short-term fix for issues caused by tracepoints in libcommon. Code crashes at runtime if the same tracepoints are linked into the program multiple times. This happens with libcommon because it is statically linked into dynamic libraries such as librados, then statically linked into executables because symbols from libcommon are not exposed in librados. Therefore, any programs that use librados and libcommon would crash because of duplicate tracepoints. Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Signed-off-by: Adam Crume <[email protected]>
Member
|
rebased; there was some test/librados/TestCase stuff in there. will verify teh build is still good and then merge! |
liewegas
added a commit
that referenced
this pull request
Aug 21, 2014
RBD-replay Reviewed-by: Sage Weil <[email protected]>
liewegas
added a commit
that referenced
this pull request
Aug 21, 2014
This reverts commit 5b9ade5, reversing changes made to b0aa846. I merged the wrong version of wip-lttng. Signed-off-by: Sage Weil <[email protected]>
4 of 14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.