diff options
| author | Li Dongyang <[email protected]> | 2015-03-25 21:53:24 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-26 11:11:44 +0100 |
| commit | a915ffda199013a8ee2dd6a8a23b89ea45879ed3 (patch) | |
| tree | a2a2a221a7f94010ce0b5f025428e3de971afb44 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 502cb58e2138dea3cef0da29021528172ff9fe58 (diff) | |
staging/lustre/llite: glimpse the inode before doing fiemap
For a new inode, the i_size is 0 until a stat, which will yield
an empty fiemap result.
Fix the issue by glimpsing the size before doing fiemap.
Signed-off-by: Li Dongyang <[email protected]>
Signed-off-by: Bob Glossman <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Jinshan Xiong <[email protected]>
Reviewed-on: http://review.whamcloud.com/13439
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6091
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions