diff mbox

devices: recognise rbd devices

Message ID 1502900525-23375-1-git-send-email-idryomov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ilya Dryomov Aug. 16, 2017, 4:22 p.m. UTC
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 <idryomov@gmail.com>
---
 WHATS_NEW                 | 1 +
 lib/device/device-types.h | 1 +
 2 files changed, 2 insertions(+)

Comments

Ilya Dryomov Aug. 31, 2017, 2:10 p.m. UTC | #1
On Wed, Aug 16, 2017 at 6:22 PM, Ilya Dryomov <idryomov@gmail.com> wrote:
> 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 <idryomov@gmail.com>
> ---
>  WHATS_NEW                 | 1 +
>  lib/device/device-types.h | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/WHATS_NEW b/WHATS_NEW
> index c8f072f3c387..b1f16cb054b5 100644
> --- a/WHATS_NEW
> +++ b/WHATS_NEW
> @@ -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.
> diff --git a/lib/device/device-types.h b/lib/device/device-types.h
> index 2834cd11fd3a..57b430173e56 100644
> --- a/lib/device/device-types.h
> +++ b/lib/device/device-types.h
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/WHATS_NEW b/WHATS_NEW
index c8f072f3c387..b1f16cb054b5 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
diff --git a/lib/device/device-types.h b/lib/device/device-types.h
index 2834cd11fd3a..57b430173e56 100644
--- a/lib/device/device-types.h
+++ b/lib/device/device-types.h
@@ -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, ""}
 };