[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] More truncate improvements
From: |
Eric Blake |
Subject: |
[PATCH 0/9] More truncate improvements |
Date: |
Tue, 28 Apr 2020 15:28:56 -0500 |
Based-on: <address@hidden>
[PATCH v7 00/10] block: Fix resize (extending) of short overlays
After reviewing Kevin's work, I questioned if we had a redundancy with
bdrv_has_zero_init_truncate. It turns out we do, and this is the result.
Patch 1 has been previously posted [1] and reviewed, the rest is new.
I did not address Neils' comment that modern gluster also always
0-initializes [2], as I am not set up to verify it (my changes to the
other drivers are semantic no-ops, so I don't feel as bad about
posting them with less rigourous testing).
[1] https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg08070.html
[2] https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg04266.html
Eric Blake (9):
gluster: Drop useless has_zero_init callback
file-win32: Support BDRV_REQ_ZERO_WRITE for truncate
nfs: Support BDRV_REQ_ZERO_WRITE for truncate
rbd: Support BDRV_REQ_ZERO_WRITE for truncate
sheepdog: Support BDRV_REQ_ZERO_WRITE for truncate
ssh: Support BDRV_REQ_ZERO_WRITE for truncate
parallels: Rework truncation logic
vhdx: Rework truncation logic
block: Drop unused .bdrv_has_zero_init_truncate
include/block/block.h | 1 -
include/block/block_int.h | 7 ---
block.c | 21 ---------
block/file-posix.c | 1 -
block/file-win32.c | 4 +-
block/gluster.c | 14 ------
block/nfs.c | 4 +-
block/parallels.c | 23 ++++++----
block/qcow2.c | 1 -
block/qed.c | 1 -
block/raw-format.c | 6 ---
block/rbd.c | 4 +-
block/sheepdog.c | 4 +-
block/ssh.c | 5 ++-
block/vhdx.c | 89 ++++++++++++++++++++++-----------------
15 files changed, 80 insertions(+), 105 deletions(-)
--
2.26.2
- [PATCH 0/9] More truncate improvements,
Eric Blake <=
- [PATCH 2/9] file-win32: Support BDRV_REQ_ZERO_WRITE for truncate, Eric Blake, 2020/04/28
- [PATCH 3/9] nfs: Support BDRV_REQ_ZERO_WRITE for truncate, Eric Blake, 2020/04/28
- [PATCH 1/9] gluster: Drop useless has_zero_init callback, Eric Blake, 2020/04/28
- [PATCH 5/9] sheepdog: Support BDRV_REQ_ZERO_WRITE for truncate, Eric Blake, 2020/04/28
- [PATCH 4/9] rbd: Support BDRV_REQ_ZERO_WRITE for truncate, Eric Blake, 2020/04/28
- [PATCH 6/9] ssh: Support BDRV_REQ_ZERO_WRITE for truncate, Eric Blake, 2020/04/28
- [PATCH 8/9] vhdx: Rework truncation logic, Eric Blake, 2020/04/28
- [PATCH 7/9] parallels: Rework truncation logic, Eric Blake, 2020/04/28
- [PATCH 9/9] block: Drop unused .bdrv_has_zero_init_truncate, Eric Blake, 2020/04/28