Page MenuHomeFreeBSD

ffs: fix vn_io_fault_pgmove() offset for PAGE_SIZE > block size
ClosedPublic

Authored by chs on Apr 7 2022, 8:15 PM.
Tags
None
Referenced Files
F107556252: D34835.diff
Wed, Jan 15, 9:01 PM
Unknown Object (File)
Dec 12 2024, 6:19 PM
Unknown Object (File)
Nov 26 2024, 2:57 PM
Unknown Object (File)
Oct 3 2024, 10:01 AM
Unknown Object (File)
Oct 2 2024, 4:00 PM
Unknown Object (File)
Oct 1 2024, 3:02 AM
Unknown Object (File)
Sep 28 2024, 6:21 PM
Unknown Object (File)
Sep 28 2024, 4:17 AM
Subscribers
None

Details

Summary

The "offset" argument to vn_io_fault_pgmove() is supposed to be
the offset within the page, but for ffs we currently use the offset
within the block. When the block size is at least as large as the
page size then these values are the same, but when the page size is
larger than the block size then we need to add the offset of
the block within the page as well.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45067
Build 41955: arc lint + arc unit