Skip to content

Commit 33fa222

Browse files
Vladimir Sementsov-OgievskiyXanClic
Vladimir Sementsov-Ogievskiy
authored andcommitted
block: introduce preallocate filter
It's intended to be inserted between format and protocol nodes to preallocate additional space (expanding protocol file) on writes crossing EOF. It improves performance for file-systems with slow allocation. Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> Message-Id: <[email protected]> Reviewed-by: Max Reitz <[email protected]> [mreitz: Two comment fixes, and bumped the version from 5.2 to 6.0] Signed-off-by: Max Reitz <[email protected]>
1 parent 9530a25 commit 33fa222

File tree

4 files changed

+605
-1
lines changed

4 files changed

+605
-1
lines changed

block/meson.build

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ block_ss.add(files(
1212
'block-copy.c',
1313
'commit.c',
1414
'copy-on-read.c',
15+
'preallocate.c',
1516
'create.c',
1617
'crypto.c',
1718
'dirty-bitmap.c',

0 commit comments

Comments
 (0)