Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hammer: rbd: rbd-replay-prep and rbd-replay improvements #6286

Merged
9 commits merged into from Nov 19, 2015

Conversation

dillaman
Copy link

Jason Dillaman added 9 commits October 15, 2015 14:26
Fixes: ceph#13220
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit a1e99f0)
Added support for read2, write2, aio_read2, and aio_write2 APIs.

Fixes: 13325
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b5b4a9d)
Fixes: ceph#13221
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f436e1)
Only track read-after-write and write-after-write IO dependencies
via the associated write completions.  All IO events after a write
completion are considered to be dependent and can be pruned down
to at most the number of concurrent IOs.  This reduces the prep
time from a simple 'rbd bench-write' from over 4 hrs down to seconds.

Fixes: ceph#13378, ceph#13384
Backport: hammer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 65fb1b8)
Avoid building the entire prep event history in memory before
attempting to write the prepped trace file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 98f513a)
This new command-line will dump all the processed events as they
are extracted from the trace file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 646e50a)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3ecdae8)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c2a83d0)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit e0d8cb1)
@dillaman dillaman added this to the hammer milestone Oct 15, 2015
@Abhishekvrshny Abhishekvrshny self-assigned this Oct 20, 2015
ghost pushed a commit that referenced this pull request Nov 11, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 13, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 13, 2015
ghost pushed a commit that referenced this pull request Nov 16, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented Nov 16, 2015

this must be merged together with #6580 to not cause packaging problems. Good to merge otherwise: It went through a rbd suite ( http://tracker.ceph.com/issues/13356#note-24 ) with one failure that could not be repeated ( http://tracker.ceph.com/issues/13804 ).

ghost pushed a commit that referenced this pull request Nov 19, 2015
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Nov 19, 2015
rbd-replay-prep and rbd-replay improvements

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost merged commit 1dbd4c6 into ceph:hammer Nov 19, 2015
@ghost ghost changed the title rbd-replay-prep and rbd-replay improvements hammer: rbd: rbd-replay-prep and rbd-replay improvements Feb 18, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants