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
rbd: inherit the parent image features when cloning an image #9334
Commits on Jun 21, 2016
-
tools/rbd: use rbd.create4() for all formats
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
tools/rbd: skip the check of options in Clone action.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
tools/rbd: fix a wrong value setting for format_specified
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Commits on Jul 22, 2016
-
tools/rbd: only set the options specified by user in get_image_option…
…s(). Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
librbd: set the default options when they are not specified.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
librbd/clone: set RBD_FEATURE_STRIPINGV2 in feature if stripe related…
… options specified Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
librbd/copy: set RBD_FEATURE_STRIPINGV2 in feature if stripe related …
…options specified Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
librbd: introduce RBD_IMAGE_OPTION_FEATURES_[SET|CLEAR] for features …
…overwriting. Currently, if we want to use the default options for rbd, we need to omit the RBD_IMAGE_OPTION_FEATURES, but if we want --image-shared. we need to overwrite something bese on the default value of image options. This patch introduce two flags in image_options, RBD_IMAGE_OPTION_FEATURES_SET means, we want to set something after you get the features from default, parent or user. And RBD_IMAGE_OPTION_FEATURES_CLEAR will do a bit clear. Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
tools/rbd: set RBD_IMAGE_OPTION_FEATURES_CLEAR when --image-shared sp…
…ecified. Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
pybind: don't set the default values for the options not specified in…
… creating Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
pybind: don't set the default values for the options not specified in…
… cloning Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
pybind: don't set the default values for the options not specified in…
… copying Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
librbd: set RBD_FEATURE_STRIPINGV2 in create if needed.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
librbd: check the RBD_FEATURE_LAYERING for the features of child image.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
tools/rbd: set order to default value if it is not specified in options.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
-
tools/rbd: use create4() for both of format 1 and format 2.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>