Skip to content

Commit

Permalink
[SCSI] hpsa: do not consider RAID level to be part of device identity
Browse files Browse the repository at this point in the history
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>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Dec 21, 2010
1 parent a0b8987 commit 35dd303
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35dd303

Please sign in to comment.