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
librbd: Asynchronous (v2) image creation #9585
Commits on Aug 7, 2016
-
librbd / ImageCtx: singleton thread pool instance helper
Introduce static member function in ImageCtx to fetch (and initialize) singleton thread pool. Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
librbd / ImageCtx: singleton safetimer instance helper
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
journaler: asynchronous JournalTrimmer::remove_objects()
Asynchronous removal of journal objects for a given rbd image. Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
journaler: implement asynchronous exists()
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
journaler: implement asynchronous remove()
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
librbd / journal: async journal removal state machine
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
journaler: async journal object creation
Introduce asynchronous journal object creation. This is a prerequisite for asynchronous creation of rbd image journals. Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
librbd / journal: async journal creation state machine
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
librbd: asynchronous image creation state machine
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
librbd: helper to generate unique image id
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
cls / librbd: use asynchronous image creation state machine
... plus changes in rbd class library to use helpers methods. Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
librbd: minor refactor in create_v1()
create_v2() uses util::generate_image_id() therefore not requiring 'bid' to be passed in as parameter. This makes bid generation in create() unnecessary -- hence move this call to create_v1(). Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
rbd-mirror: asynchronously create mirror images
Use the newly instroduced asynchronous image creation state machine (CreateRequest) to create mirrored images. Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
test: fix CreateImageRequest unit test case
Signed-off-by: Venky Shankar <vshankar@redhat.com>
-
journaler: remove ununsed synchronous API routines
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>