static string dir_oid = RBD_DIRECTORY;
static string dir_info_oid = RBD_INFO;
-bool udevadm_settle = true;
bool progress = true;
bool resize_allow_shrink = false;
" --shared <tag> take a shared (rather than exclusive) lock\n"
" --format <output-format> output format (default: plain, json, xml)\n"
" --pretty-format make json or xml output more readable\n"
-" --no-settle do not wait for udevadm to settle on map/unmap\n"
" --no-progress do not show progress for long-running commands\n"
" -o, --options <map-options> options to use when mapping an image\n"
" --read-only set device readonly when mapping image\n"
} else if (ceph_argparse_witharg(args, i, &val, "--shared", (char *)NULL)) {
lock_tag = strdup(val.c_str());
} else if (ceph_argparse_flag(args, i, "--no-settle", (char *)NULL)) {
- udevadm_settle = false;
+ cerr << "rbd: --no-settle is deprecated" << std::endl;
} else if (ceph_argparse_witharg(args, i, &val, "-o", "--options", (char*)NULL)) {
char *map_options = strdup(val.c_str());
if (parse_map_options(map_options)) {
--shared <tag> take a shared (rather than exclusive) lock
--format <output-format> output format (default: plain, json, xml)
--pretty-format make json or xml output more readable
- --no-settle do not wait for udevadm to settle on map/unmap
--no-progress do not show progress for long-running commands
-o, --options <map-options> options to use when mapping an image
--read-only set device readonly when mapping image