diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-07-11 19:17:36 +0300 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-07-23 11:43:55 +0300 |
commit | a6ec414a4dd529eeac5c3ea51c661daba3397108 (patch) | |
tree | 777ed0945b271b076af78d01b4f04b4da34d7f91 /drivers/md/dm-sysfs.c | |
parent | 6abe28197024f732f1e298b1a593505282505857 (diff) | |
download | linux-a6ec414a4dd529eeac5c3ea51c661daba3397108.tar.xz |
s390/qdio: add sanity checks to the fast-requeue path
If the device driver were to send out a full queue's worth of SBALs,
current code would end up discovering the last of those SBALs as PRIMED
and erroneously skip the SIGA-w. This immediately stalls the queue.
Add a check to not attempt fast-requeue in this case. While at it also
make sure that the state of the previous SBAL was successfully extracted
before inspecting it.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/md/dm-sysfs.c')
0 files changed, 0 insertions, 0 deletions