Move CTIO waitq from per-LUN to per-channel.
authormav <mav@FreeBSD.org>
Sun, 19 Feb 2017 05:07:02 +0000 (05:07 +0000)
committermav <mav@FreeBSD.org>
Sun, 19 Feb 2017 05:07:02 +0000 (05:07 +0000)
commit6819487c0cdfff0a8a726ae9889d2c18825076fa
tree3b520bd345acd4e804154bca16ffffbc0ff8d290
parent0f40e530ebfd2e2a2bc66f94b43ca9e210b85306
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.

MFC after: 2 weeks
sys/dev/isp/isp_freebsd.c
sys/dev/isp/isp_freebsd.h