On Tue, Nov 12, 2024 at 04:01:42PM +1030, Qu Wenruo wrote: > Although I'm still struggling on the out-of-band dirty folio (someone marked > a folio dirty without notifying the fs) handling. No one is allowed to mark pages dirty without file system involvement. > The iomap writepages implementation will just mark all the folio range dirty > and start mapping. iomap writepages (just like any other writepages) never marks folios dirty, it clears the dirty bit.