Re: [Qemu-devel] [PATCH v2 3/8] qcow2-threads: use thread_pool_submit_co

2019-01-03 Thread Alberto Garcia
On Tue 11 Dec 2018 05:43:12 PM CET, Vladimir Sementsov-Ogievskiy wrote: > Use thread_pool_submit_co, instead of reinventing it here. Note, that > thread_pool_submit_aio() never returns an error, so checking it was an > extra thing. "never returns NULL" is perhaps a bit more explicit. > Signed-off

[Qemu-devel] [PATCH v2 3/8] qcow2-threads: use thread_pool_submit_co

2018-12-11 Thread Vladimir Sementsov-Ogievskiy
Use thread_pool_submit_co, instead of reinventing it here. Note, that thread_pool_submit_aio() never returns an error, so checking it was an extra thing. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/qcow2-threads.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-)