]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r310366: Add support for SITUA bit in Logical Block Provisioning mode page.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2017 11:45:36 +0000 (11:45 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2017 11:45:36 +0000 (11:45 +0000)
commit1de620ea81d01b69bf0b94b2ddddb3c70128635f
tree974916633df1cd74c2ebf8cae43e5bb8157650b4
parentaf9b7e15db604a937422cdb9d9c3e23f2f41021c
MFC r310366: Add support for SITUA bit in Logical Block Provisioning mode page.

VMware tries to enable this bit to avoid multiple threshold notifications
in case of multiple initiators connected to the same LUN.  Unfortunately
their code sends MODE SELECT(6) request with parameter length hardcoded
for the page without any thresholds.  Since we have four threshold and our
page is bigger, this attempt fails, that is correct in my understanding.
So all we can do about this now is to report proper error code and hope
VMware fix their code one day.

git-svn-id: svn://svn.freebsd.org/base/stable/10@311428 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_error.c
sys/cam/ctl/ctl_private.h