aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2019-08-05 11:22:03 +0000
committerAndreas Gruenbacher <[email protected]>2019-08-09 15:56:12 +0000
commita27a0c9b6a208722016c8ec5ad31ec96082b91ec (patch)
tree115efcd00abc631f4d2688f7b4ddb90e7e25e798 /tools/perf/scripts/python
parentLinux 5.3-rc3 (diff)
downloadkernel-a27a0c9b6a208722016c8ec5ad31ec96082b91ec.tar.gz
kernel-a27a0c9b6a208722016c8ec5ad31ec96082b91ec.zip
gfs2: gfs2_walk_metadata fix
It turns out that the current version of gfs2_metadata_walker suffers from multiple problems that can cause gfs2_hole_size to report an incorrect size. This will confuse fiemap as well as lseek with the SEEK_DATA flag. Fix that by changing gfs2_hole_walker to compute the metapath to the first data block after the hole (if any), and compute the hole size based on that. Fixes xfstest generic/490. Signed-off-by: Andreas Gruenbacher <[email protected]> Reviewed-by: Bob Peterson <[email protected]> Cc: [email protected] # v4.18+
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions