limit max waiting time of monitor election process, which was previously
restricted by 'mon_lease'.
+* The rbd legacy image format (version 1) is deprecated with the Jewel release.
+ Attempting to create a new version 1 RBD image will result in a warning.
+ Future releases of Ceph will remove support for version 1 RBD images.
+
v9.3.0
======
* Some symbols wrongly exposed by librados in v9.1.0 and v9.2.0 were removed.
Specifies which object layout to use. The default is 1.
- * format 1 - Use the original format for a new rbd image. This format is
- understood by all versions of librbd and the kernel rbd module, but
- does not support newer features like cloning.
+ * format 1 - (deprecated) Use the original format for a new rbd image. This
+ format is understood by all versions of librbd and the kernel rbd module,
+ but does not support newer features like cloning.
* format 2 - Use the second rbd format, which is supported by
librbd and kernel since version 3.11 (except for striping). This adds
}
send_close_image(*result);
} else {
+ lderr(cct) << "RBD image format 1 is deprecated. "
+ << "Please copy this image to image format 2." << dendl;
+
m_image_ctx->old_format = true;
m_image_ctx->header_oid = util::old_header_name(m_image_ctx->name);
send_register_watch();
Optional arguments
-p [ --pool ] arg pool name
--image arg image name
- --image-format arg image format [1 or 2]
+ --image-format arg image format [1 (deprecated) or 2]
--new-format use image format 2
(deprecated)
--order arg object order [12 <= order <= 25]
--path arg import file (or '-' for stdin)
--dest-pool arg destination pool name
--dest arg destination image name
- --image-format arg image format [1 or 2]
+ --image-format arg image format [1 (deprecated) or 2]
--new-format use image format 2
(deprecated)
--order arg object order [12 <= order <= 25]
// TODO get default image format from conf
if (include_format) {
opt->add_options()
- (IMAGE_FORMAT.c_str(), po::value<ImageFormat>(), "image format [1 or 2]")
+ (IMAGE_FORMAT.c_str(), po::value<ImageFormat>(),
+ "image format [1 (deprecated) or 2]")
(IMAGE_NEW_FORMAT.c_str(),
po::value<ImageNewFormat>()->zero_tokens(),
"use image format 2\n(deprecated)");
} else {
format = g_conf->rbd_default_format;
}
+ if (format == 1) {
+ std::cerr << "rbd: image format 1 is deprecated" << std::endl;
+ }
if (features_specified && features != 0) {
if (format_specified && format == 1) {