commit | 66e75c03b2247bda6dcaa883b700291bc0f7f0ef | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Fri Jun 01 17:26:45 2018 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Jun 01 14:41:48 2018 +0100 |
tree | 5d973af344afd1e6b4d6a4fe176faa990e531c19 | |
parent | cc9743c236cce8a35449e3ef67140287b68bb705 [diff] |
iscsi: Create and use iscsi_co_wait_for_task This loop is repeated a growing number times. Make a helper. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180601092648.24614-8-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>