diff options
author | 2017-09-06 16:21:27 -0700 | |
---|---|---|
committer | 2017-09-06 17:27:26 -0700 | |
commit | dec0da7b608253b004daea1da5bd82b3b292ba0f (patch) | |
tree | ff616fc5f7fb3c24ac421473b6e068d20158a185 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs: fix performance regression in clean_bdev_aliases() (diff) | |
download | wireguard-linux-dec0da7b608253b004daea1da5bd82b3b292ba0f.tar.xz wireguard-linux-dec0da7b608253b004daea1da5bd82b3b292ba0f.zip |
ext4: use pagevec_lookup_range() in ext4_find_unwritten_pgoff()
Use pagevec_lookup_range() in ext4_find_unwritten_pgoff() since we are
interested only in pages in the given range. Simplify the logic as a
result of not getting pages out of range and index getting automatically
advanced.
Link: http://lkml.kernel.org/r/20170726114704.7626-6-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions