Files
linux-nv-oot/drivers/block
Sanjith T D 19cd2b3ccc vblk: Handle SCSI IOCTL case where mx_sb_len is 0
Storage server expectes the mx_sb_len to be
set to non-zero value in order to pass on the
sense information assosiated with the SCSI
command to the user.

Some of the open source implementations(Ex:f2fs)
that use SG_IO SCSI IOCTL interface set the
mx_sb_len to 0. Handle this case in the vblk
client driver.

Bug 4060482

Change-Id: Ib3779f9cd4beb2822add95d4773909b7d3e7217a
Signed-off-by: Sanjith T D <std@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894395
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-26 20:21:19 -07:00
..