Date: Thu, 16 Sep 2010 22:54:56 +0000 (UTC) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mps mps_sas.c Message-ID: <201009162255.o8GMt7et081131@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ken 2010-09-16 22:54:56 UTC FreeBSD src repository Modified files: sys/dev/mps mps_sas.c Log: SVN rev 212772 on 2010-09-16 22:54:56Z by ken MFp4 (//depot/projects/mps/...): According to the MPT2 spec, task management commands are serialized, and so no I/O should start while task management commands are active. So, to comply with that, freeze the SIM queue before we send any task management commands (abort, target reset, etc.) down to the IOC. We unfreeze the queue once the task management command completes. It isn't clear from the spec whether multiple simultaneous task management commands are supported. Right now it is possible to have multiple outstanding task management commands, especially in the abort case. Multiple outstanding aborts do complete successfully, so it may be supported. We also don't yet have any recovery mechanism (e.g. reset the IOC) if the task management command fails. Revision Changes Path 1.3 +25 -0 src/sys/dev/mps/mps_sas.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009162255.o8GMt7et081131>