]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r310366: Add support for SITUA bit in Logical Block Provisioning mode page.
authormav <mav@FreeBSD.org>
Thu, 5 Jan 2017 11:44:56 +0000 (11:44 +0000)
committermav <mav@FreeBSD.org>
Thu, 5 Jan 2017 11:44:56 +0000 (11:44 +0000)
commitcb04e094bcc5b3f25dd48ed98c9bc03b9a245c75
tree69a3e9a3cbedb15bf8abdf3e35f59c54d393a81f
parent8bc45a09264a43caef22ee018f718a028fa9e0eb
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.
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_error.c
sys/cam/ctl/ctl_private.h