Skip to contentSkip to conversation

devices: recognise rbd devices

PATCH RESEND New Ilya Dryomov 1 participant 1 message Sep 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 devices: recognise rbd devices

Under single_major scheme introduced in kernel 3.14, rbd devices support up to 16 partitions. In pre-single_major mode, rbd driver takes up the whole major.

---
 WHATS_NEW                 | 1 +
 lib/device/device-types.h | 1 +
 2 files changed, 2 insertions(+)
WHATS_NEW +1 -0
index e6cc18db009b..f5f22eaa7b4a 100644
@@ -1,5 +1,6 @@
 Version 2.02.174 - 
 =================================
+  Recognise RADOS block devices (RBD) in filter.
   Prevent raid1 split with trackchanges in a shared VG.
   Avoid double unlocking of client & lockspace mutexes in lvmlockd.
   Fix leaking of file descriptor for non-blocking filebased locking.
lib/device/device-types.h +1 -0
index 2834cd11fd3a..57b430173e56 100644
@@ -64,5 +64,6 @@ static const dev_known_type_t _dev_known_types[] = {
 	{"nvme", 64, "NVM Express"},
 	{"zvol", 16, "ZFS Zvols"},
 	{"VxDMP", 16, "Veritas Dynamic Multipathing"},
+	{"rbd", 16, "RADOS block device (RBD)"},
 	{"", 0, ""}
 };
Signature · 1 line
2.4.3