[zfs-discuss] zfs_space function

Ian Collins
Fri, 09 Jan 2009 03:09:50 -0000

On Thu 08/01/09 20:36 , kavita kavita_kulkarni at qualexsystems.com
sent:
> What exactly does zfs_space function do?
> The comments suggest it allocates and frees space in a file. What does this
> mean? And through what operation can i invoke this function? for eg.
> whenever i edit/write to a file, zfs_write is called. So what operation can
> be used to call this function?

The code list is a better place to ask, or just check the source:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/zfs_vnops.c#zfs_space

--
Ian.