Re: [PATCH v1] ntfs: limit MFT mirror comparisons to system records
From: Namjae Jeon
Date: Fri Nov 20 2026 - 20:44:01 EST
On Sat, Nov 21, 2026 at 12:50 AM Baolin Liu <liubaolin12138@xxxxxxx> wrote:
>
> From: Baolin Liu <liubaolin@xxxxxxxxxx>
>
> Windows 10 can leave $MFTMirr records from record 16 onwards stale on
> volumes with large clusters. Comparing them can falsely report
> corruption.
>
> Commit 749357bd48c1 ("ntfs: mount hibernated volumes read-only regardless
> of errors=") made these mismatches force a read-only mount even with
> errors=continue.
>
> Limit the record checks and comparison to the first 16 records within
> the mirror, following ntfs-3g. Keep reading the full mirror for runlist
> mapping and location checks, and leave mirror writeback unchanged.
>
> Fixes: 2beaa98b46c4 ("ntfs: restore $MFT mirror contents check")
> Cc: stable@xxxxxxxxxxxxxxx
> Link: https://github.com/tuxera/ntfs-3g/commit/85e208176ffd16ce9a51a9f534b194f0ebbde6e3
> Signed-off-by: Baolin Liu <liubaolin@xxxxxxxxxx>
Applied it to #ntfs-next.
@d3nck, Let me know your test result.
Thanks!