]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r224494, r224761
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 13 Aug 2011 12:37:22 +0000 (12:37 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 13 Aug 2011 12:37:22 +0000 (12:37 +0000)
commitfcd7af00eaa8d29a1edbdafab24d250f57f8859c
treecfc864ba45d39f32a99df2c4b81e90b9ec277ef8
parent1b453d3b82d8286212b6ed605fd0312a43d3ff0a
MFC: r224494, r224761

- Send the RELSIM_ADJUST_OPENINGS in response to a MPI_EVENT_QUEUE_FULL using
  the right SIM in case the HBA is RAID-capable but the target in question is
  not a hot spare or member of a RAID volume.
- Report the loss and addition of SAS and SATA targets detected via PHY link
  status changes and signalled by MPI_EVENT_SAS_DEVICE_STATUS_CHANGE to cam(4)
  as lost devices and trigger rescans as appropriate. Without this it can take
  quite some time until a lost device actually is no longer tried to be used,
  if it ever stops. [1]
- Handle MPI_EVENT_IR2, MPI_EVENT_LOG_ENTRY_ADDED, MPI_EVENT_SAS_DISCOVERY
  and MPI_EVENT_SAS_PHY_LINK_STATUS silently as these serve no additional
  purpose beyond adding cryptic entries to logs.
- Add a warning for MPI_EVENT_SAS_DISCOVERY_ERROR events, which can help
  identifying broken disks. [2]

Thanks to Hans-Joerg Sirtl for providing one of the HBAs these changes were
developed with and RIP to the mainboard that didn't survive testing them.

PR: 157534 [1]
Submitted by: Andrew Boyer [2]

git-svn-id: svn://svn.freebsd.org/base/stable/8@224820 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mpt/mpilib/mpi_ioc.h
sys/dev/mpt/mpt_cam.c
sys/dev/mpt/mpt_raid.c
sys/dev/mpt/mpt_raid.h