diff options
author | 2014-04-18 10:21:15 -0400 | |
---|---|---|
committer | 2014-04-18 10:21:15 -0400 | |
commit | 694c793fc1ade0946149c5f8d43f71e0728c4e81 (patch) | |
tree | 6fffd99f193595aa55981aa3c5296d56a766878a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: remove temporary shim used to merge COLLAPSE_RANGE and ZERO_RANGE (diff) | |
download | linux-dev-694c793fc1ade0946149c5f8d43f71e0728c4e81.tar.xz linux-dev-694c793fc1ade0946149c5f8d43f71e0728c4e81.zip |
ext4: use truncate_pagecache() in collapse range
We should be using truncate_pagecache() instead of
truncate_pagecache_range() in the collapse range because we're
truncating page cache from offset to the end of file.
truncate_pagecache() also get rid of the private COWed pages from the
range because we're going to shift the end of the file.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions