commit | cc0538b62c839c2df7b9f8378bb37e3b35faa608 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Fri Aug 10 13:12:07 2012 -0700 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 14:30:50 2012 -0500 |
tree | a721584161916d3ba4ebe62cd919a4248b966145 | |
parent | f8c3892911145db7cf895cc26f53ad73dd4e7b1f [diff] |
rbd: add read_only rbd map option Add the ability to map an rbd image read-only, by specifying either "read_only" or "ro" as an option on the rbd "command line." Also allow the inverse to be explicitly specified using "read_write" or "rw". Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>