qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/3] linux-aio: add `dev_max_batch` parameter to laio_io_unpl


From: Stefan Hajnoczi
Subject: Re: [PATCH 3/3] linux-aio: add `dev_max_batch` parameter to laio_io_unplug()
Date: Thu, 21 Oct 2021 16:20:50 +0100

On Thu, Sep 23, 2021 at 04:31:00PM +0200, Stefano Garzarella wrote:
> Between the submission of a request and the unplug, other devices
> with larger limits may have been queued new requests without flushing
> the batch.
> 
> Using the new `dev_max_batch` parameter, laio_io_unplug() can check
> if the batch exceeds the device limit to flush the current batch.
> 
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
>  include/block/raw-aio.h | 3 ++-
>  block/file-posix.c      | 2 +-
>  block/linux-aio.c       | 8 +++++---
>  3 files changed, 8 insertions(+), 5 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachment: signature.asc
Description: PGP signature


reply via email to

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