[PATCH 0/9] wip-krbd-readonly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux