aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorVivek Goyal <[email protected]>2018-05-11 11:49:31 -0400
committerMiklos Szeredi <[email protected]>2018-07-20 09:56:12 +0200
commit8c444d2a971fdccda670e874f12443627f028fbc (patch)
tree80b0c16602ca4a6e2ac27336047ce0085bbdc08e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent4823d49c26eaf269cd2c2723bed8249aaed80795 (diff)
ovl: Open file with data except for the case of fsync
ovl_open() should open file which contains data and not open metacopy inode. With the introduction of metacopy inodes, with current implementaion we will end up opening metacopy inode as well. But there can be certain circumstances like ovl_fsync() where we want to allow opening a metacopy inode instead. Hence, change ovl_open_realfile() and and add extra parameter which specifies whether to allow opening metacopy inode or not. If this parameter is false, we look for data inode and open that. This should allow covering both the cases. Signed-off-by: Vivek Goyal <[email protected]> Reviewed-by: Amir Goldstein <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions