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
Unknown Object (File)
Fri, May 31, 4:50 PM
Unknown Object (File)
Sun, May 26, 12:13 PM
Unknown Object (File)
May 1 2024, 4:50 PM
Unknown Object (File)
Apr 21 2024, 6:07 AM
Unknown Object (File)
Apr 20 2024, 4:39 PM
Unknown Object (File)
Apr 10 2024, 9:09 PM
Unknown Object (File)
Apr 5 2024, 7:48 AM
Unknown Object (File)
Feb 8 2024, 4:16 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