From owner-cvs-src-old@FreeBSD.ORG Fri Jul 29 18:38:47 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B15F6106564A for ; Fri, 29 Jul 2011 18:38:47 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 85A4E8FC14 for ; Fri, 29 Jul 2011 18:38:47 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p6TIcl2d079448 for ; Fri, 29 Jul 2011 18:38:47 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p6TIclGt079447 for cvs-src-old@freebsd.org; Fri, 29 Jul 2011 18:38:47 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201107291838.p6TIclGt079447@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Fri, 29 Jul 2011 18:38:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mpt mpt_cam.c mpt_raid.c mpt_raid.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2011 18:38:47 -0000 marius 2011-07-29 18:38:31 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_cam.c mpt_raid.c mpt_raid.h Log: SVN rev 224494 on 2011-07-29 18:38:31Z by marius - 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. 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] Approved by: re (kib) MFC after: 2 weeks Revision Changes Path 1.79 +66 -2 src/sys/dev/mpt/mpt_cam.c 1.30 +19 -0 src/sys/dev/mpt/mpt_raid.c 1.9 +1 -0 src/sys/dev/mpt/mpt_raid.h