qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 0/2] Replace posix_fallocate() with falloate()


From: Nir Soffer
Subject: Re: [PATCH 0/2] Replace posix_fallocate() with falloate()
Date: Mon, 14 Sep 2020 20:19:14 +0300

On Mon, Aug 31, 2020 at 5:01 PM Nir Soffer <nirsof@gmail.com> wrote:
>
> Change preallocation=falloc to use fallocate() instead of
> posix_fallocte(), improving performance when legacy filesystem that do
> not support fallocate, and avoiding issues seen with OFD locks.
>
> More work is needed to respect cache mode when using full preallocation
> and maybe optimize buffer size.
>
> Continuing the discussion at:
> https://lists.nongnu.org/archive/html/qemu-block/2020-08/msg00947.html
>
> Nir Soffer (2):
>   block: file-posix: Extract preallocate helpers
>   block: file-posix: Replace posix_fallocate with fallocate
>
>  block/file-posix.c                     | 202 ++++++++++++++-----------
>  docs/system/qemu-block-drivers.rst.inc |  11 +-
>  docs/tools/qemu-img.rst                |  11 +-
>  qapi/block-core.json                   |   4 +-
>  4 files changed, 127 insertions(+), 101 deletions(-)

Ping




reply via email to

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