Hello, This series makes read-only mappings compatible with read-only caps: we no longer establish a watch, acquire header and object map locks, etc. In addition, because images mapped read-only can no longer be flipped to read-write, we allow read-only mappings with unsupported features, as long as the image is still readable. Thanks, Ilya Ilya Dryomov (9): rbd: introduce rbd_is_snap() rbd: introduce RBD_DEV_FLAG_READONLY rbd: treat images mapped read-only seriously rbd: disallow read-write partitions on images mapped read-only rbd: don't acquire exclusive lock for read-only mappings rbd: don't establish watch for read-only mappings rbd: remove snapshot existence validation code rbd: don't query snapshot features rbd: ask for a weaker incompat mask for read-only mappings drivers/block/rbd.c | 203 ++++++++++++++++++++------------------------ 1 file changed, 93 insertions(+), 110 deletions(-) -- 2.19.2