Skip to content
Commit 2d4b63e1 authored by James Bottomley's avatar James Bottomley
Browse files

[SCSI] libsas: don't treat underrun as an error on SMP tasks



All SMP tasks sent through bsg generate messages like:

sas: smp_execute_task: task to dev 500605b000001450 response: 0x0 status 0x81

Three times (because the task gets retried).  Firstly, don't retry
either overrun or underrun (the data buffer isn't going to change size)
and secondly, just report the underrun but don't set an error for it.
This is necessary so bsg can report back the residual.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent b98e66fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment