Home
last modified time | relevance | path

Searched hist:"01350 d05539d1c95ef3568d062d864ab76ae7670" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dhpsa.cdiff 01350d05539d1c95ef3568d062d864ab76ae7670 Tue Aug 09 08:18:01 CDT 2011 Stephen M. Cameron <scameron@beardog.cce.hp.com> [SCSI] hpsa: fix physical device lun and target numbering problem

If a physical device exposed to the OS by hpsa
is replaced (e.g. one hot plug tape drive is replaced
by another, or a tape drive is placed into "OBDR" mode
in which it acts like a CD-ROM device) and a rescan is
initiated, the replaced device will be added to the
SCSI midlayer with target and lun numbers set to -1.
After that, a panic is likely to ensue. When a physical
device is replaced, the lun and target number should be
preserved.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>