HomeFreeBSD

Currently the breadn_flags() and getblkx() interfaces are passed

Description

Currently the breadn_flags() and getblkx() interfaces are passed
the vnode, logical block number, and size of data block that is
being requested. They then use the VOP_BMAP function to calculate
the mapping from logical block number to physical block number from
which to access the data. This change expands the interface to also
pass the physical block number in cases where the VOP_MAP function
may no longer work, for example when a file is being truncated.

No functional change.

Reviewed by: kib
Tested by: Peter Holm
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on
Parents
rS355370: MFC r354624
Branches
Unknown
Tags
Unknown