]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r315067: Partially fix target task management requests handling.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Mar 2017 06:55:32 +0000 (06:55 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Mar 2017 06:55:32 +0000 (06:55 +0000)
commitcf0dca4419638a55ab2c62dddb2afd6c3ce0f640
treecb0baea2718a150681cd275fbf6189f7001f9f0e
parent418a1d7539239920c5fa7054f650e7c5c306f200
MFC r315067: Partially fix target task management requests handling.

 - XPT_NOTIFY_ACKNOWLEDGE was not handled, causing stuck requests.
 - XPT_ABORT was not even trying to abort active ATIOs/INOTs.
 - Initiator's tag was not stored and not used where needed.
 - List of TM request types needed update.
 - mpt_scsi_tgt_status() missed some useful debugging.

After this change global TM requests, such as reset, should work properly.
ABORT TASK (ABTS) requests are still not passes to CTL, that is not good
and should be fixed.

git-svn-id: svn://svn.freebsd.org/base/stable/10@315828 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mpt/mpt.h
sys/dev/mpt/mpt_cam.c