]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: sunvdc: skip vdisk response validation upon error
authorJag Raman <jag.raman@oracle.com>
Wed, 21 Jun 2017 15:23:50 +0000 (11:23 -0400)
committerAllen Pais <allen.pais@oracle.com>
Sat, 24 Jun 2017 01:27:49 +0000 (06:57 +0530)
commitca0ff2a4e64aaa04366221dc0952f53f87741886
treec54784445f2c3ae38944d69e3fb2db3f0d0ccb2a
parente36ca7533dce9818f600ca286086fdf0cb348f90
sparc64: sunvdc: skip vdisk response validation upon error

Skip validating the vdisk IO response from vdisk server, if IO
request has failed.

sunvdc checks if the size of the request processed by the
server matches with the size of request sent by vdc. This
is to ensure that partial IO completions are caught, since
it's not expected. In the case where the server reports an
error, it could set the size of IO processed to zero.
Therefore, validating the size of request processed in the
case of an error could mis-classify the problem.

Orabug: 26242270

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/block/sunvdc.c