default values are set in the kernel and may therefore depend on the version of
the running kernel.
+libceph (per client instance) options:
+
* fsid=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee - FSID that should be assumed by
the client.
* nocrc - Disable CRC32C checksumming for data writes.
-* cephx_require_signatures - Require cephx message signing, i.e. MSG_AUTH
- feature bit (since 3.19, default).
+* cephx_require_signatures - Require cephx message signing (since 3.19,
+ default).
* nocephx_require_signatures - Don't require cephx message signing (since
3.19).
* osd_idle_ttl=x - OSD idle TTL (default is 60 seconds).
+Mapping (per block device) options:
+
* rw - Map the image read-write (default).
* ro - Map the image read-only. Equivalent to --read-only.
+* queue_depth=x - queue depth (since 4.2, default is 128 requests).
+
Examples
========
return 1;
} else if (!strcmp(this_char, "rw") || !strcmp(this_char, "ro")) {
put_map_option("rw", this_char);
+ } else if (!strcmp(this_char, "queue_depth")) {
+ if (put_map_option_value("queue_depth", value_char, map_option_int_cb))
+ return 1;
} else {
cerr << "rbd: unknown map option '" << this_char << "'" << std::endl;
return 1;