[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/8] block: add missing coroutine_fn annotations



On 20/7/26 09:55, Marc-André Lureau wrote:
The functions call coroutine functions or are called by coroutine.

Add an assert() in qcow2_do_close() code path which calls a
no_coroutine_fn bdrv_graph_wrlock_drained().

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
  include/block/blockjob_int.h |  2 +-
  block/crypto.c               | 13 +++++++------
  block/io.c                   |  8 +++++---
  block/parallels.c            |  5 +++--
  block/qcow2.c                | 11 +++++++----
  blockjob.c                   |  3 ++-
  6 files changed, 25 insertions(+), 17 deletions(-)

Too many distinct code paths in a single patch to my
taste, I'll skip.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.