public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v2 storage 0/3] ceph: add namespace support
@ 2021-04-07 14:22 Aaron Lauterer
  2021-04-07 14:22 ` [pve-devel] [PATCH v2 storage 1/3] rbd: centralize rbd path concatenation Aaron Lauterer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Aaron Lauterer @ 2021-04-07 14:22 UTC (permalink / raw)
  To: pve-devel

This series introduces namespace support for Ceph RBD on the PVE side.

The first patch reworks the RBD storage plugin to use one central sub to
create the RBD paths for <pool>/<image>. With this patch applied, adding
support for namespaces involves very little changes to the RBD plugin.

v1 -> v2:
* new patch (centralize rbd path concatenation) has been
  introduced
* namespace checks now avoid matching the contents of the
  $scfg->{namespace} but check if it is defined. This is done to avoid
  evaluating a namespace called '0' for example, to evaluate to false.
* integration test has been reworked according to feedback

Aaron Lauterer (3):
  rbd: centralize rbd path concatenation
  rbd: fix #3286 add namespace support
  rbd: add integration test for namespace handling

 PVE/Storage/RBDPlugin.pm |  63 +++++--
 test/rbd_namespace.pl    | 370 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 415 insertions(+), 18 deletions(-)
 create mode 100755 test/rbd_namespace.pl

-- 
2.20.1





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-12 12:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 14:22 [pve-devel] [PATCH v2 storage 0/3] ceph: add namespace support Aaron Lauterer
2021-04-07 14:22 ` [pve-devel] [PATCH v2 storage 1/3] rbd: centralize rbd path concatenation Aaron Lauterer
2021-04-12 12:39   ` [pve-devel] applied: " Thomas Lamprecht
2021-04-07 14:22 ` [pve-devel] [PATCH v2 storage 2/3] rbd: fix #3286 add namespace support Aaron Lauterer
2021-04-12 12:41   ` [pve-devel] applied: " Thomas Lamprecht
2021-04-07 14:22 ` [pve-devel] [PATCH v2 storage 3/3] rbd: add integration test for namespace handling Aaron Lauterer
2021-04-12 12:48   ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal