Add more client options

Add `rbd_default_features` and `rbd_default_map_options`.

Signed-off-by: leseb <seb@redhat.com>
pull/317/head
leseb 2015-07-06 13:58:08 +02:00
parent 0ac89101be
commit b6f16164c6
3 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,8 @@ dummy:
#rbd_client_log_file: /var/log/rbd-clients/qemu-guest-$pid.log # must be writable by QEMU and allowed by SELinux or AppArmor
#rbd_client_log_path: /var/log/rbd-clients/
#rbd_client_admin_socket_path: /var/run/ceph/rbd-clients/
#rbd_default_features: 3
#rbd_default_map_options: rw
## Monitor options
#

View File

@ -106,6 +106,8 @@ rbd_client_directories: false # this will create rbd_client_log_path and rbd_cli
rbd_client_log_file: /var/log/rbd-clients/qemu-guest-$pid.log # must be writable by QEMU and allowed by SELinux or AppArmor
rbd_client_log_path: /var/log/rbd-clients/
rbd_client_admin_socket_path: /var/run/ceph/rbd-clients # must be writable by QEMU and allowed by SELinux or AppArmor
rbd_default_features: 3
rbd_default_map_options: rw
## Monitor options
#

View File

@ -67,6 +67,8 @@
rbd concurrent management ops = {{ rbd_concurrent_management_ops }}
admin socket = {{ rbd_client_admin_socket_path }}/$cluster-$type.$id.$pid.$cctid.asok # must be writable by QEMU and allowed by SELinux or AppArmor
log file = {{ rbd_client_log_file }} # must be writable by QEMU and allowed by SELinux or AppArmor
rbd default map options = {{ rbd_default_map_options }}
rbd default features = {{ rbd_default_features }} # sum features digits
[mon]
mon osd down out interval = {{ mon_osd_down_out_interval }}