git: hammer2 - disable FIOSEEKHOLE
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Nov 17 18:24:09 PST 2025
commit 0d0182bdb451dfc740da6d92f6d849e2e6496cc8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Nov 17 18:21:42 2025 -0800
hammer2 - disable FIOSEEKHOLE
* This function is returning incorrect results and needs more work.
Disable for now. Certain portions of the hammer2 btree may not yet
be synchronized even when the file buffers are synced. A SEEK_HOLE
operation just after a file is written but prior to the next full
filesystem may return incorrect data. And there are other issues with
the H2 implementation too.
So... just disable it for now.
* Fixes make configure; make sequences in dports where grep uses
SEEK_HOLE to try to locate any large holes in a file.
Summary of changes:
sys/vfs/hammer2/hammer2_ioctl.c | 4 ++++
1 file changed, 4 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d0182bdb451dfc740da6d92f6d849e2e6496cc8
--
DragonFly BSD source repository
More information about the Commits
mailing list