[Top][All Lists]

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

Re: [PATCH v2 17/18] block: Reorganize some declarations in block-backen

From: Hanna Reitz
Subject: Re: [PATCH v2 17/18] block: Reorganize some declarations in block-backend-io.h
Date: Wed, 6 Jul 2022 11:25:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

On 05.07.22 18:15, Alberto Faria wrote:
Keep generated_co_wrapper and coroutine_fn pairs together. This should
make it clear that each I/O function has these two versions.

Also move blk_co_{pread,pwrite}()'s implementations out of the header
file for consistency.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
  block/block-backend.c             | 22 +++++++++
  include/sysemu/block-backend-io.h | 77 +++++++++++++------------------
  2 files changed, 54 insertions(+), 45 deletions(-)

Reviewed-by: Hanna Reitz <hreitz@redhat.com>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]