devices: recognise rbd devices
PATCH 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.
Signed-off-by Ilya Dryomov <[email protected]>
--- WHATS_NEW | 1 + lib/device/device-types.h | 1 + 2 files changed, 2 insertions(+)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.174 - ================================= + Recognise RADOS block devices (RBD) in filter. Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile. Use maximum metadataarea size that fits with pvcreate --restorefile. Always clear cached bootloaderarea when wiping label e.g. in pvcreate.
lib/device/device-types.h +1 -0
@@ -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
Quoted 26 lines · Ilya Dryomov
Under
single_majorscheme introduced in kernel 3.14, rbd devices support up to 16 partitions. In pre-single_major mode, rbd driver takes up the whole major.Signed-off-by Ilya Dryomov <[email protected]>--- WHATS_NEW | 1 + lib/device/device-types.h | 1 + 2 files changed, 2 insertions(+)WHATS_NEW +1
-0@@ -1,5 +1,6 @@ Version 2.02.174 - ================================= + Recognise RADOS block devices (RBD) in filter. Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile. Use maximum metadataarea size that fits with pvcreate --restorefile. Always clear cached bootloaderarea when wiping label e.g. in pvcreate.lib/device/device-types.h +0
-0
lib/device/device-types.h static const dev_known_type_t _dev_known_types[] = { · line 69
Quoted 6 lines
lib/device/device-types.h +1
-0@@ -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, ""} };
Ping... This gained a trivial conflict in WHATS_NEW, should I resend?
Thanks,
Ilya