rbd: don't establish watch for read-only mappings
With exclusive lock out of the way, watch is the only thing left that prevents a read-only mapping from being used with read-only OSD caps. Signed-off-by: NIlya Dryomov <idryomov@gmail.com> Reviewed-by: NJason Dillaman <dillaman@redhat.com> Reviewed-by: NDongsheng Yang <dongsheng.yang@easystack.cn>
Showing
想要评论请 注册 或 登录