]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r313936, r313937: Move CTIO waitq from per-LUN to per-channel.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 5 Mar 2017 05:17:36 +0000 (05:17 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 5 Mar 2017 05:17:36 +0000 (05:17 +0000)
commitcb46d716037634cd763f62b913e89ee4e257aafd
tree8509e352d83c08120a823884c55de45ef2c443a4
parent9ea808c9b3287c2bba6cc43ef1a9e463863a4cc5
MFC r313936, r313937: Move CTIO waitq from per-LUN to per-channel.

All resources lack of which may put CTIO into the queue are either
per-channel or potentially per-queue, but none of them are per-LUN.

This is a first step to fix live LUN disabling.  Before this change
any CTIOs held in a queue in time of disabling were just leaked.

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