Skip to content
Commit b2580103 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: Support xfs style space reservation ioctls



We re-use the RESVSP/UNRESVSP ioctls from xfs which allow the user to
allocate and deallocate regions to a file without zeroing data or changing
i_size.

Though renamed, the structure passed in from user is identical to struct
xfs_flock64. The three fields that are actually used right now are l_whence,
l_start and l_len.

This should get ocfs2 immediate compatibility with userspace software using
the pre-existing xfs ioctls.

Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 063c4561
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment