When lseek(2) with SEEK_DATA or SEEK_HOLE is executed to a file on the GFS Shared File System, the behavior is as follows:
When the specified offset does not exceed the end of the file
SEEK_DATA:
Set the file offset to the specified offset.
SEEK_HOLE:
Set the file offset to the end of the file.
When the specified offset exceeds the end of the file
lseek(2) fails (return code: -1, errno: ENXIO).
Information
Specify SEEK_DATA and SEEK_HOLE in the third argument of lseek(2).
Specify the offset in the second argument of lseek(2).