diff options
author | Abhi Das <adas@redhat.com> | 2016-04-05 12:06:15 -0400 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-04-05 12:06:15 -0400 |
commit | 611526756a3d0fa7f4d1c519397ba8898f40443f (patch) | |
tree | 170614d6a447935a0230d228415ea5a5c7c4b7c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73cc86252bd8a547349d2856497eceaf4f2d1766 (diff) |
gfs2: Use gfs2 wrapper to sync inode before calling generic_file_splice_read()
gfs2_file_splice_read() f_op grabs and releases the cluster-wide
inode glock to sync the inode size to the latest.
Without this, generic_file_splice_read() uses an older i_size value
and can return EOF for valid offsets in the inode.
Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions