Fam Zheng e551c999bc ide: Convert trim_aiocb_info.cancel to .cancel_async
We know that either bh is scheduled or ide_issue_trim_cb will be called
again, so we just set i, j and ret to the right values. In both cases,
ide_trim_bh_cb will be called.

Also forward the cancellation to the iocb->aiocb which we get from
bdrv_aio_discard.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-09-22 11:39:16 +01:00
..
2014-09-15 17:35:22 +01:00
2014-08-15 19:12:48 +04:00
2014-09-18 20:02:01 +01:00
2013-12-24 18:02:18 +01:00
2014-09-02 22:38:16 +04:00
2014-09-18 20:02:01 +01:00
2014-09-11 12:20:32 +02:00
2014-09-02 22:38:16 +04:00
2014-09-02 22:38:16 +04:00
2014-08-14 13:22:00 +02:00
2014-09-18 20:02:01 +01:00
2014-06-30 21:13:30 +02:00
2014-08-25 00:16:06 +02:00
2014-08-18 12:06:21 +02:00