scsi: core: disable scsi_get_vpd_size for GCP

This is a temporary workaround for Virtual IO SCSI Bug b/339461799
which results in broken reads when attempting to only read the first 4
bytes of the VPD.

This fixes a functional regression for all SCSI attached disks since
5.18, but should only be needed until Vanadium is finished rolling out
the fix for b/339461799.

The mentioned bug does *not* affect any disks attached using NVMe.

PersistentDisk is PD, EphemeralDisk is local SSD.

Fixes: c92a6b5d6335 ("scsi: core: Query VPD size before getting full page")

Cc: Jonathan Polley <polley@google.com>

BUG=b/339532174
TEST=presubmit and manual
RELEASE_NOTE=None

cos-patch: bug
Google-Bug-Id: 333389588
Google-Bug-Id: 339532174
Change-Id: I109eb87cf5b98a7decdd9de6c7c98fd49448ca87
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Signed-off-by: Arnav Kansal <rnv@google.com>
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/71611
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
1 file changed