diff options
author | 2015-07-17 12:56:00 +0800 | |
---|---|---|
committer | 2015-08-05 08:08:10 -0700 | |
commit | 737f18992ee81cab897336e84c5c7f4e179dfd61 (patch) | |
tree | 161ed9461b87bf7674218a6f92c37de24b87dd90 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: fix double lock in handle_failed_inode (diff) | |
download | linux-dev-737f18992ee81cab897336e84c5c7f4e179dfd61.tar.xz linux-dev-737f18992ee81cab897336e84c5c7f4e179dfd61.zip |
f2fs: optimize f2fs_write_cache_pages
The if statement "goto continue_unlock" is exactly the same when
each if condition is true that is depended on the value of both
"step" and "is_cold_data(page)" are 0 or 1. That means when the
value of "step" equals to "is_cold_data(page)", the if condition
is true and the if statement "goto continue_unlock" appears only
once, so it can be optimized to reduce the duplicated code.
Signed-off-by: Tiezhu Yang <kernelpatch@126.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions