From: Mike Snitzer <snitzer@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] update support for cciss controller(s)
Date: Mon, 30 Nov 2009 14:30:30 -0500 [thread overview]
Message-ID: <20091130193030.GE9708@redhat.com> (raw)
The cciss driver calls register_blkdev() for each controller in the
system. The first 8 cciss controllers are given a fixed major
(COMPAQ_CISS_MAJOR + i) and a name of: cciss%d
cciss controllers >8 get a dynamic major number.
Each controller supports a maximum of 16 partitions.
Update lvm's filtering to properly support the cciss controller (I left
"cciss" for compatibility's sake).
(This enables dracut to drop its, incorrect, "cciss0" 'types' entry).
diff --git a/lib/filters/filter.c b/lib/filters/filter.c
index 889b416..05da504 100644
--- a/lib/filters/filter.c
+++ b/lib/filters/filter.c
@@ -96,6 +96,14 @@ static const device_info_t device_info[] = {
{"nbd", 16}, /* Network Block Device */
{"ida", 16}, /* Compaq SMART2 */
{"cciss", 16}, /* Compaq CCISS array */
+ {"cciss0", 16}, /* Compaq CCISS array */
+ {"cciss1", 16}, /* Compaq CCISS array */
+ {"cciss2", 16}, /* Compaq CCISS array */
+ {"cciss3", 16}, /* Compaq CCISS array */
+ {"cciss4", 16}, /* Compaq CCISS array */
+ {"cciss5", 16}, /* Compaq CCISS array */
+ {"cciss6", 16}, /* Compaq CCISS array */
+ {"cciss7", 16}, /* Compaq CCISS array */
{"ubd", 16}, /* User-mode virtual block device */
{"ataraid", 16}, /* ATA Raid */
{"drbd", 16}, /* Distributed Replicated Block Device */
next reply other threads:[~2009-11-30 19:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 19:30 Mike Snitzer [this message]
2009-11-30 19:48 ` update support for cciss controller(s) Mike Snitzer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091130193030.GE9708@redhat.com \
--to=snitzer@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.