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)
Tue, Nov 26, 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
Unknown Object (File)
Sep 20 2024, 9:13 PM
Unknown Object (File)
Sep 16 2024, 11:57 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable