Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
* queue_depth=x - queue depth (since 4.2, default is 128 requests).
+* lock_on_read - Acquire exclusive lock on reads, in addition to writes and
+ discards (since 4.9).
+
Examples
========
} else if (!strcmp(this_char, "queue_depth")) {
if (put_map_option_value("queue_depth", value_char, map_option_int_cb))
return -EINVAL;
+ } else if (!strcmp(this_char, "lock_on_read")) {
+ put_map_option("lock_on_read", this_char);
} else {
std::cerr << "rbd: unknown map option '" << this_char << "'" << std::endl;
return -EINVAL;