diff options
author | 2011-07-25 14:58:15 -0700 | |
---|---|---|
committer | 2011-07-25 14:58:15 -0700 | |
commit | 93862d5e1ab875664c6cc95254fc365028a48bb1 (patch) | |
tree | 3299a37486b2265e051a4c641aa7cfbb309a69d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ocfs2: Fix ocfs2_page_mkwrite() (diff) | |
download | linux-dev-93862d5e1ab875664c6cc95254fc365028a48bb1.tar.xz linux-dev-93862d5e1ab875664c6cc95254fc365028a48bb1.zip |
ocfs2: Implement llseek()
ocfs2 implements its own llseek() to provide the SEEK_HOLE/SEEK_DATA
functionality.
SEEK_HOLE sets the file pointer to the start of either a hole or an unwritten
(preallocated) extent, that is greater than or equal to the supplied offset.
SEEK_DATA sets the file pointer to the start of an allocated extent (not
unwritten) that is greater than or equal to the supplied offset.
If the supplied offset is on a desired region, then the file pointer is set
to it. Offsets greater than or equal to the file size return -ENXIO.
Unwritten (preallocated) extents are considered holes because the file system
treats reads to such regions in the same way as it does to holes.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions