* Re: [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored
2026-12-04 11:24 [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored Thorsten Leemhuis
@ 2026-12-05 22:53 ` Senjin
2026-12-05 22:53 ` Senjin
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Senjin @ 2026-12-05 22:53 UTC (permalink / raw)
To: Thorsten Leemhuis
Cc: Konstantin Komarov, Linus Torvalds, ntfs3, linux-kernel,
Marcin Mennemann, linux-fsdevel, regressions, Christian Brauner
(Resending as plain text, my first reply was rejected by the lists
for containing HTML. Sorry for the duplicate.)
Hi Thorsten, all,
Thanks for picking this up. Marcin's patch is the better fix of the
two: it is smaller, handles the case in ntfs_llseek() by falling back
to generic_file_llseek_size() as before the regression, and also
covers deduplicated files, which mine does not. Please consider my
patch [1] superseded by his.
I tested it on 7.3.7 against WOF compressed files on an NTFS data
volume: without a fix SEEK_DATA returns -ENXIO and cp produces
all-zero copies; with Marcin's patch SEEK_DATA/SEEK_HOLE return 0 and
i_size, and cp copies match a plain read byte for byte. A regular
uncompressed file behaves the same either way.
Tested-by: Senjin <senjin@hatchling.org>
[1] https://lore.kernel.org/ntfs3/6adc95fc26efdd1658b01fc5@mailersend.net/
Thanks,
Senjin
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored
2026-12-04 11:24 [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored Thorsten Leemhuis
2026-12-05 22:53 ` Senjin
@ 2026-12-05 22:53 ` Senjin
2026-12-05 22:53 ` Senjin
2026-12-05 22:53 ` Senjin
3 siblings, 0 replies; 5+ messages in thread
From: Senjin @ 2026-12-05 22:53 UTC (permalink / raw)
To: Thorsten Leemhuis
Cc: Konstantin Komarov, Linus Torvalds, ntfs3, linux-kernel,
Marcin Mennemann, linux-fsdevel, regressions, Christian Brauner
(Resending as plain text, my first reply was rejected by the lists
for containing HTML. Sorry for the duplicate.)
Hi Thorsten, all,
Thanks for picking this up. Marcin's patch is the better fix of the
two: it is smaller, handles the case in ntfs_llseek() by falling back
to generic_file_llseek_size() as before the regression, and also
covers deduplicated files, which mine does not. Please consider my
patch [1] superseded by his.
I tested it on 7.3.7 against WOF compressed files on an NTFS data
volume: without a fix SEEK_DATA returns -ENXIO and cp produces
all-zero copies; with Marcin's patch SEEK_DATA/SEEK_HOLE return 0 and
i_size, and cp copies match a plain read byte for byte. A regular
uncompressed file behaves the same either way.
Tested-by: Senjin <senjin@hatchling.org>
[1] https://lore.kernel.org/ntfs3/6adc95fc26efdd1658b01fc5@mailersend.net/
Thanks,
Senjin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored
2026-12-04 11:24 [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored Thorsten Leemhuis
2026-12-05 22:53 ` Senjin
2026-12-05 22:53 ` Senjin
@ 2026-12-05 22:53 ` Senjin
2026-12-05 22:53 ` Senjin
3 siblings, 0 replies; 5+ messages in thread
From: Senjin @ 2026-12-05 22:53 UTC (permalink / raw)
To: Thorsten Leemhuis
Cc: Konstantin Komarov, Linus Torvalds, ntfs3, linux-kernel,
Marcin Mennemann, linux-fsdevel, regressions, Christian Brauner
(Resending as plain text, my first reply was rejected by the lists
for containing HTML. Sorry for the duplicate.)
Hi Thorsten, all,
Thanks for picking this up. Marcin's patch is the better fix of the
two: it is smaller, handles the case in ntfs_llseek() by falling back
to generic_file_llseek_size() as before the regression, and also
covers deduplicated files, which mine does not. Please consider my
patch [1] superseded by his.
I tested it on 7.3.7 against WOF compressed files on an NTFS data
volume: without a fix SEEK_DATA returns -ENXIO and cp produces
all-zero copies; with Marcin's patch SEEK_DATA/SEEK_HOLE return 0 and
i_size, and cp copies match a plain read byte for byte. A regular
uncompressed file behaves the same either way.
Tested-by: Senjin <senjin@hatchling.org>
[1] https://lore.kernel.org/ntfs3/6adc95fc26efdd1658b01fc5@mailersend.net/
Thanks,
Senjin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored
2026-12-04 11:24 [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored Thorsten Leemhuis
` (2 preceding siblings ...)
2026-12-05 22:53 ` Senjin
@ 2026-12-05 22:53 ` Senjin
3 siblings, 0 replies; 5+ messages in thread
From: Senjin @ 2026-12-05 22:53 UTC (permalink / raw)
To: Thorsten Leemhuis
Cc: Konstantin Komarov, Linus Torvalds, ntfs3, linux-kernel,
Marcin Mennemann, linux-fsdevel, regressions, Christian Brauner
(Resending as plain text, my first reply was rejected by the lists
for containing HTML. Sorry for the duplicate.)
Hi Thorsten, all,
Thanks for picking this up. Marcin's patch is the better fix of the
two: it is smaller, handles the case in ntfs_llseek() by falling back
to generic_file_llseek_size() as before the regression, and also
covers deduplicated files, which mine does not. Please consider my
patch [1] superseded by his.
I tested it on 7.3.7 against WOF compressed files on an NTFS data
volume: without a fix SEEK_DATA returns -ENXIO and cp produces
all-zero copies; with Marcin's patch SEEK_DATA/SEEK_HOLE return 0 and
i_size, and cp copies match a plain read byte for byte. A regular
uncompressed file behaves the same either way.
Tested-by: Senjin <senjin@hatchling.org>
[1] https://lore.kernel.org/ntfs3/6adc95fc26efdd1658b01fc5@mailersend.net/
Thanks,
Senjin
^ permalink raw reply [flat|nested] 5+ messages in thread