On 11/13/08 12:27, kavita wrote:> when and how is fop_space function called?
> What is the system call trace? Actually wanted to get the flow of system
calls generated for the function call zfs_space. Have traced it back till
fop_space(or vop_space?)
> Can anyone please explain?
>
VOP_SPACE is the VOP interface for allocating/freeing data blocks
into/from a file.
Please see fcntl(2) specifically the F_FREESP and F_ALLOCSP cmd values
for the fcntl call.
zfs_space is a kernel function call. To trace the flow of calls from
zfs_space you would need to use dtrace(1M).
Pramod