commit | 131fd9f6fc89ad2cc993f80664d18ca49d6f8483 | [log] [tgz] |
---|---|---|
author | Guangliang Zhao <guangliang@unitedstack.com> | Tue Sep 24 11:25:36 2013 +0800 |
committer | Josh Durgin <josh.durgin@inktank.com> | Tue Jun 10 18:09:24 2014 -0700 |
tree | a5dd9b68bb868f62229f159fd64f3c4322b21edc | |
parent | 4e217b5dc87042b0fa52b11f491c4ded1863823a [diff] |
rbd: add ioctl for rbd When running the following commands: [root@ceph0 mnt]# blockdev --setro /dev/rbd1 [root@ceph0 mnt]# blockdev --getro /dev/rbd1 0 The block setro didn't take effect, it is because the rbd doesn't support ioctl of block driver. This resolves: http://tracker.ceph.com/issues/6265 Signed-off-by: Guangliang Zhao <guangliang@unitedstack.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>