Files
linux/drivers/s390/cio
Julian Wiedmann 4eebf3147c s390/qdio: handle PENDING state for QEBSM devices
[ Upstream commit 04310324c6 ]

When a CQ-enabled device uses QEBSM for SBAL state inspection,
get_buf_states() can return the PENDING state for an Output Queue.
get_outbound_buffer_frontier() isn't prepared for this, and any PENDING
buffer will permanently stall all further completion processing on this
Queue.

This isn't a concern for non-QEBSM devices, as get_buf_states() for such
devices will manually turn PENDING buffers into EMPTY ones.

Fixes: 104ea556ee ("qdio: support asynchronous delivery of storage blocks")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:33:18 +02:00
..
2016-06-13 15:58:17 +02:00
2016-03-07 13:12:04 +01:00
2019-05-31 06:48:26 -07:00
2015-08-07 09:57:01 +02:00
2012-09-26 15:44:57 +02:00
2015-03-25 11:49:33 +01:00