Re: [PATCH] btrfs: write-protect folios during data writeback

Qu Wenruo <[email protected]>
Newsgroups org.kernel.vger.linux-btrfs
Message-ID <[email protected]>

在 2026/7/9 18:16, Qu Wenruo 写道:
> 
[...]
> 
> 
> With all these said, this may help you to craft a more reliable 
> reproducer, by:
> 
> 1. Allocate a large folio (e.g, 64KiB on 4K ps systems)
>     By doing a 64KiB sized buffered write at file offset 0.

My bad, missing a sync here.
Other wise the later mmaped write will not cause two different dirty ranges.

> 
> 2. Mmap range [4K, 8K) and [16K, 20K)
> 
> 3. Trigger writeback with mmaped range being modified
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.