HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man7/!!!intro.7
________________________________________________________________
___ ___
v
vxfsio(7) vxfsio(7)
will not be updated with the reservation information so that the reservation will not sur-
vive a system crash. The reservation is associated with the file until the close of the file.
The reservation is trimmed to the current file size on close.
VX_CHGSIZE
The reservation is to be immediately incorporated into the file. The file’s on-disk inode is
updated with the size and block count information that is increased to include the reserved
space. This operation is restricted to users with appropriate privileges.
Write permission to a file is required to set extent information, but any process that can open the file
can get the extent information. Extent information only applies to regular files. Only one set of
extent information is kept per file. Only the VX_ALIGN and VX_NOEXTEND allocation flags are
persistent attributes of the file. Other allocation flags may have persistent effects, but are not visible
as allocation flags. VX_ALIGN, VX_NOEXTEND , and VX_TRIM are the only flags visible through
the VX_GETEXT ioctl.
The VX_SETEXT ioctl returns a zero if the extent information is successfully set. If the operation
fails, the return value is -1 and the external variable errno will be a general DIAGNOSTIC.
VX_GETEXT
Get extent information. Return the extent information associated with
fildes. The argument
arg points to a structure of type vx_ext as defined in
sys/fs/vx_ioctl.h
. Only persistent
extent attributes are visible.
The
VX_GETEXT ioctl returns a zero if the extent information is successfully obtained. If the opera-
tion fails, the return value is -1 and the external variable errno will be a general DIAGNOSTIC.
VX_GETFSOPT
Get file system options. The argument arg should be a pointer to an int. This command may be
used by any user who can open the root inode on the file system. The options returned in
arg are:
VX_FSO_BLKCLEAR
Indicates that all newly allocated blocks will be guaranteed to contain all zeros. (See the
blkclear mount option of mount_vxfs(1M)).
VX_FSO_CACHE_CLOSESYNC
Indicates that any non-logged changes to the inode or data will be flushed to disk when the
file is closed. (See the mincache=closesync
mount option of mount_vxfs(1M)).
VX_FSO_CACHE_DIRECT
Indicates that any non-synchronous I/O will be handled as if the
VX_DIRECT cache
advisory had been set on the file. Also, any non-logged changes to the inode or data will be
flushed to disk when the file is closed. (See the
mincache=direct
mount option of
mount_vxfs(1M)).
VX_FSO_CACHE_DSYNC
Indicates that any writes that do not have either O_SYNC or the VX_DIRECT advisory
set will be handled as if the VX_DSYNC advisory had been set on the file. Also, any non-
logged changes to the inode or data will be flushed to disk when the file is closed. (See the
mincache=dsync mount option of mount_vxfs(1M)).
VX_FSO_CACHE_TMPCACHE
Indicates that delayed extending writes have been disabled. Non-logged changes to the
inode or data will not be flushed to disk when the file is closed. (See the
mincache=tmpcache
mount option of mount_vxfs(1M)).
VX_FSO_CACHE_UNBUFFERED
Indicates that any non-synchronous I/O will be handled as if the VX_UNBUFFERED
cache
advisory had been set on the file. Also, any non-logged changes to the inode or data will be
flushed to disk when the file is closed. (See the
mincache=unbuffered mount option
of mount_vxfs(1M)).
VX_FSO_DELAYLOG
Indicates that some system calls may return before the intent log is written. (See the
delaylog mount option of mount_vxfs(1M)).
VX_FSO_NODATAINLOG
Indicates that intent logging of user data for synchronous writes is disabled. (See the
nodatainlog mount option of mount_vxfs(1M)).
HP-UX Release 11i: December 2000 − 3 − Section 7−−191
___
___