]> git.hungrycats.org Git - linux/commit
[PATCH] cciss: fixes for clustering
authorMike Miller <mike.miller@hp.com>
Mon, 18 Oct 2004 09:52:20 +0000 (04:52 -0500)
committerJames Bottomley <jejb@titanic.il.steeleye.com>
Mon, 18 Oct 2004 09:52:20 +0000 (04:52 -0500)
commit2207252b3d9eeb701d286d362ce97311e1a764a2
tree443ae4908aa740db327e35add8fc2cbd6b1ec159
parent2f68cfe3a173f8780b4ae0fde00fa3b70ba9f836
[PATCH] cciss: fixes for clustering

This patch changes our open specifically for clustering software. We must
allow root to access any volume or device with a LUN ID. We also modified
our revalidate function for this reason.
If a logical is reserved, we must register it with the OS with size=0. Then
the backup system can call BLKRRPART after breaking the reservation to
set the device to the correct size.
We also must register a controller with no logical volumes for the online
utilities to function. This is the way we've done it since the 2.2 kernel.
Which doesn't neccesarily make it right, but we have legacy apps to consider.

Signed off by: Mike Miller <mike.miller@hp.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/block/cciss.c