mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
rbd: expose mount_timeout map option
Expose mount_timeout map option. (I missed it in commit 9b7364d245
,
which added -o / --options option and among other options exposed
osdkeepalive and osd_idle_ttl timeouts.)
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
This commit is contained in:
parent
6663a5eee3
commit
b1a853e433
@ -2168,6 +2168,9 @@ static int parse_map_options(char *options)
|
||||
put_map_option("share", this_char);
|
||||
} else if (!strcmp(this_char, "crc") || !strcmp(this_char, "nocrc")) {
|
||||
put_map_option("crc", this_char);
|
||||
} else if (!strcmp(this_char, "mount_timeout")) {
|
||||
if (put_map_option_value("mount_timeout", value_char, map_option_int_cb))
|
||||
return 1;
|
||||
} else if (!strcmp(this_char, "osdkeepalive")) {
|
||||
if (put_map_option_value("osdkeepalive", value_char, map_option_int_cb))
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user