summaryrefslogtreecommitdiff
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2019-11-05 15:38:46 +0100
committerIlya Dryomov <idryomov@gmail.com>2019-11-25 11:44:03 +0100
commit196e2d6d0252d37be385c73f64fc8f5787a52066 (patch)
tree0af541c1cd7a1dc4fc2f1c2364c993f72e01cb48 /fs/ceph/super.c
parentfa58bcad90446a8b30bf0d7f3827844bff30ff59 (diff)
rbd: ask for a weaker incompat mask for read-only mappings
For a read-only mapping, ask for a set of features that make the image only unwritable rather than both unreadable and unwritable by a client that doesn't understand them. As of today, the difference between them for krbd is journaling (JOURNALING) and live migration (MIGRATING). get_features method supports read_only parameter since hammer, ceph.git commit 6176ec5fde2a ("librbd: differentiate between R/O vs R/W RBD features"). Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com> Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions