Replace posix_fallocate() with falloate()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: file-posix: Extract preallocate helpersblock/ | +120 | 3 replies | |
| 2/2 | block: file-posix: Replace posix_fallocate with fallocateblock/ docs/ docs/ +1 more | +25 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alberto Garcia |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Replace posix_fallocate() with falloate()
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(-)
Signature · 1 line
2.26.2