[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 6/9] file-posix: Support BDRV_REQ_ZERO_WRITE for truncate
From: |
Max Reitz |
Subject: |
Re: [PATCH v5 6/9] file-posix: Support BDRV_REQ_ZERO_WRITE for truncate |
Date: |
Thu, 23 Apr 2020 12:57:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 22.04.20 17:21, Kevin Wolf wrote:
> For regular files, we always get BDRV_REQ_ZERO_WRITE behaviour from the
> OS, so we can advertise the flag and just ignore it.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> Reviewed-by: Alberto Garcia <address@hidden>
> ---
> block/file-posix.c | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH v5 1/9] block: Add flags to BlockDriver.bdrv_co_truncate(), (continued)
- [PATCH v5 5/9] raw-format: Support BDRV_REQ_ZERO_WRITE for truncate, Kevin Wolf, 2020/04/22
- [PATCH v5 6/9] file-posix: Support BDRV_REQ_ZERO_WRITE for truncate, Kevin Wolf, 2020/04/22
- Re: [PATCH v5 6/9] file-posix: Support BDRV_REQ_ZERO_WRITE for truncate,
Max Reitz <=
- [PATCH v5 9/9] iotests: Test committing to short backing file, Kevin Wolf, 2020/04/22
- [PATCH v5 8/9] iotests: Filter testfiles out in filter_img_info(), Kevin Wolf, 2020/04/22
- [PATCH v5 7/9] block: truncate: Don't make backing file data visible, Kevin Wolf, 2020/04/22