Re: [PATCH v6 4/5] mm/migrate: skip migrating folios under writeback with AS_WRITEBACK_INDETERMINATE mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Jan 2025 at 20:12, Joanne Koong <joannelkoong@xxxxxxxxx> wrote:

> If we copy the cache page, do we not have the same issue with needing
> an rb tree to track writeback state since writeback on the original
> folio would be immediately cleared?

Writeback would not be cleared in that case.   The copy would be to
guarantee that the page can be migrated.  Starting migration for an
under-writeback page would need some new mechanism, because currently
that's not possible.

But I realize now that even though write-through does not involve
PG_writeback, doing splice will result in those cache pages being
referenced for an indefinite amount of time, which can deny migration.
Ugh.   Same as page reading, this exists today.

Thanks,
Miklos




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux