]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: expose options available to rbd map
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 27 Dec 2013 17:40:59 +0000 (19:40 +0200)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 27 Dec 2013 17:56:24 +0000 (09:56 -0800)
commit9b7364d2450c7b51043bd39a0f586cf1c6041f4d
tree0e5fd6638f5dcc8aab45a51c802b50080d4c110e
parent87b8e54fae8afc7717899f0bab5095fd890c6b0f
rbd: expose options available to rbd map

Add a -o / --options option, which would allow users to specify
rbd-specific and generic ceph client and osd options available at
mapping time in a comma separated list (similar to mount(8) mount
options).

Exposed options are:

- fsid=%s
- ip=%s
- share
- noshare
- crc
- nocrc
- osdkeepalive=%d
- osd_idle_ttl=%d
- rw
- ro (equivalent to existing --read-only flag)

The rw/ro < 3.7 kernels compatibility kludge added in commit
fb0f1986449b is preserved.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
doc/man/8/rbd.rst
man/rbd.8
src/rbd.cc
src/test/cli/rbd/help.t