HomeFreeBSD

Avoid BUG in migrate_folio_extra

Description

Avoid BUG in migrate_folio_extra

Linux page migration code won't wait for writeback to complete unless
it needs to call release_folio. Call SetPagePrivate wherever
PageUptodate is set and define .release_folio, to cause
fallback_migrate_folio to wait for us.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: tstabrawa <59430211+tstabrawa@users.noreply.github.com>
Closes #15140
Closes #16568

Details

Provenance
tstabrawa <59430211+tstabrawa@users.noreply.github.com>Authored on Sep 26 2024, 3:57 PM
GitHub <noreply@github.com>Committed on Sep 26 2024, 3:57 PM
Parents
rGb2ca5105b721: ZTS: Fix zpool_reguid Makefile.am and tests
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGb05203599059: Avoid BUG in migrate_folio_extra (authored by tstabrawa <59430211+tstabrawa@users.noreply.github.com>).Sep 26 2024, 3:57 PM