|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH v4 04/20] block: Convert bdrv_em_aiocb_info.cancel to .cancel_async |
| Date: | Thu, 04 Sep 2014 07:45:13 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Il 04/09/2014 03:20, Fam Zheng ha scritto:
>> >
>> > This requires auditing all callbacks though, doesn't it? Or at least
>> > adding an
>> >
>> > if (ret == -ECANCELED) {
>> > return;
>> > }
>> >
>> > at the beginning.
> You are right, this is an unexpected error code for ide at least.
Yeahh, I think it's IDE only.
It is fine for SCSI which is already testing io_canceled. It should not
matter (or it could even help) for NVME.
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |