commit | d9b9f40bba7db1147e8069fd3eba711b2247ee67 | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Tue Jun 11 18:38:00 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 13 22:39:32 2019 -0700 |
tree | 0de606247851098ecb47f8e2f6293d8d4a9915f3 | |
parent | f3b783b1d0d7d2d76e2bd8c136a80487f93dc680 [diff] |
s390/qeth: allocate a single cmd on read channel We statically allocate 8 cmd buffers on the read channel, when the only IO left that's still using them is the long-running READ. Replace this with a single allocated cmd, that gets restarted whenever the READ completed. This introduces refcounting for allocated cmds, so that the READ cmd can survive the IO completion. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>