qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 7/7] block/raw-posix: set max_write_zeroes to IN


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 7/7] block/raw-posix: set max_write_zeroes to INT_MAX for regular files
Date: Tue, 27 Jan 2015 13:05:08 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015-01-27 at 08:51, Denis V. Lunev wrote:
fallocate() works fine and could handle properly with arbitrary size
requests.

Maybe "could properly handle arbitrary size requests" (or "...arbitrarily sized requests")?

There is no sense to reduce the amount of space to fallocate.
The bigger is the size, the better is the performance as the amount of
journal updates is reduced.

True for fallocate(). But is it true for xfs_write_zeroes(), too? I guess so, but I don't know.

If it does, the patch looks good to me.

Max

Signed-off-by: Denis V. Lunev <address@hidden>
CC: Kevin Wolf <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Peter Lieven <address@hidden>
CC: Fam Zheng <address@hidden>
---
  block/raw-posix.c | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)



reply via email to

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