Commit ddd47442 authored by Mike Miller's avatar Mike Miller Committed by Linus Torvalds

[PATCH] cciss: new disk register/deregister routines

This patch removes a couple of functions dealing with configuration and
replaces them with new functions.  This implementation fixes some bugs
associated with the ACUXE.  It also allows a logical volume to be removed from
the middle without deleting all volumes behind it.

If a user has 5 logical volumes and decides he wants to reconfigure volume
number 3, he can now do that without removing volumes 4 & 5 first.  This code
has been tested in our labs against all application software.
Signed-off-by: default avatarChase Maupin <chase.maupin@hp.com>
Signed-off-by: default avatarMike Miller <mike.miller@hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1f8ef380
This diff is collapsed.
...@@ -35,7 +35,13 @@ typedef struct _drive_info_struct ...@@ -35,7 +35,13 @@ typedef struct _drive_info_struct
int heads; int heads;
int sectors; int sectors;
int cylinders; int cylinders;
int raid_level; int raid_level; /* set to -1 to indicate that
* the drive is not in use/configured
*/
int busy_configuring; /*This is set when the drive is being removed
*to prevent it from being opened or it's queue
*from being started.
*/
} drive_info_struct; } drive_info_struct;
struct ctlr_info struct ctlr_info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment