Skip to contentSkip to conversation

master - filters: add scm devices

PATCH Zdenek Kabelac 1 participant 1 message Jan 11, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9602e68577b43cf2090e680d7b4d2318c72009a7
Commit:        9602e68577b43cf2090e680d7b4d2318c72009a7
Parent:        06abb2dd4c78e66529e7e6407db1afb3f0f44d85
Author:        Sebastian Ott <[email protected]>
AuthorDate:    Thu Jan 10 20:20:37 2013 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jan 11 09:24:07 2013 +0100

filters: add scm devices

Fix this:
pvcreate /dev/scma
Device /dev/scma not found (or ignored by filtering).

---
 lib/filters/device-types.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
lib/filters/device-types.h +1 -0
index aec4293..2e49f7f 100644
@@ -58,5 +58,6 @@ static const device_info_t _device_info[] = {
 	{"mtip32xx", 16},	/* Micron PCIe SSDs */
 	{"vtms", 16},		/* Violin Memory */
 	{"skd", 16},		/* STEC */
+	{"scm", 8},		/* Storage Class Memory (IBM S/390) */
 	{"", 0}
 };