Files
erofs-freebsd-out-tree/tests/TC066-vop-bmap-unsupported.md
T
2026-08-18 09:20:44 +02:00

25 lines
766 B
Markdown

# Test Case: Unsupported BMAP with Pager Fallback
**Test ID**: TC066-vop-bmap-unsupported
**Category**: VM Integration
**Priority**: High
## Objective
Verify the exact source KLD keeps erofs_bmap as EOPNOTSUPP while FreeBSD's
local vnode pager successfully faults plain and compressed files through
VOP_READ.
## Procedure
Audit the exact archived source registration and record KLD symbols. Then, on
fresh mounts of vfs/vfs-plain.erofs and vfs/vfs-lz4.erofs, run:
./mmap_fault /tmp/repo22-g3/mnt/pager.bin
## Expected Results
The source returns EOPNOTSUPP from erofs_bmap and registers both local pager
entry points. Both real mmap tests pass; dmesg has no "No strategy for
buffer", assertion, trap, or panic. Record source/KLD/image hashes and cleanup.