All of lore.kernel.org
 help / color / mirror / Atom feed
From: Senjin <senjin@hatchling.org>
To: Thorsten Leemhuis <regressions@leemhuis.info>
Cc: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org,
	Marcin Mennemann <marcin@mennemann.net>,
	linux-fsdevel@vger.kernel.org, regressions@lists.linux.dev,
	Christian Brauner <brauner@kernel.org>
Subject: Re: [regression] WOF compressed files broken in ntfs3 since 7.0-rc1; fixes exists, but are ignored
Date: 05 Dec 2026 22:53:35 -0000	[thread overview]
Message-ID: <6b1495ef6ecd30f524d6bfe5@mailersend.net> (raw)
In-Reply-To: <43983966-5807-4267-a81d-02e9fea2d7fc@leemhuis.info>

(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

  parent reply	other threads:[~2026-12-05 22:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2026-12-05 22:53 ` Senjin
2026-12-05 22:53 ` Senjin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b1495ef6ecd30f524d6bfe5@mailersend.net \
    --to=senjin@hatchling.org \
    --cc=almaz.alexandrovich@paragon-software.com \
    --cc=brauner@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcin@mennemann.net \
    --cc=ntfs3@lists.linux.dev \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.