Messages in this thread Patch in this message | | | Subject | [PATCH 2/2] hpsa: do not consider RAID level to be part of device identity | From | "Stephen M. Cameron" <> | Date | Thu, 16 Dec 2010 13:01:03 -0600 |
| |
From: Stephen M. Cameron <StephenM.Cameron>
Otherwise, after doing a RAID level migration, the disk will be disruptively removed and re-added as a different disk on rescan.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> --- drivers/scsi/hpsa.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a2408e5..12deffc 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -657,8 +657,6 @@ static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1, return 0; if (dev1->devtype != dev2->devtype) return 0; - if (dev1->raid_level != dev2->raid_level) - return 0; if (dev1->bus != dev2->bus) return 0; return 1;
| |