[regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored

From: Thorsten Leemhuis

Date: Fri Dec 04 2026 - 06:26:27 EST


Hi Linus!

SEEK_DATA/SEEK_HOLE is apparently broken in ntfs3 for WOF compressed and
dedup files since c6132696772839 ("fs/ntfs3: implement llseek
SEEK_DATA/SEEK_HOLE by scanning data runs") [v7.0-rc1]. Marcin Mennemann
and Senjin (both CCed) both reported this in October and provided fixes:
https://lore.kernel.org/all/20261005223318.19303-1-marcin@xxxxxxxxxxxxx/
https://lore.kernel.org/ntfs3/6adc95fc26efdd1658b01fc5@xxxxxxxxxxxxxx/

Neither afaics got a reply from the maintainer Konstantin Komarov -- who
should have seen it, as Konstantin added a bunch of changes to next
during November. A prodding from Marcin didn't help either:
https://lore.kernel.org/ntfs3/20261122144302.32486-1-marcin@xxxxxxxxxxxxx/

It's been broken a few months now, so it's not totally urgent; but OTOH
it's not an ancient regression, and users tend to be somewhat upset when
a file they expect to find data in is shown as empty. So I thought I'd
at least tell you about this, maybe some prodding from your side might
help -- or maybe you (or Christian, who's CCed) might know somebody who
can evaluate if those changes are safe to merge.

Ciao, Thorsten